diff --git a/packages/network.yaml b/packages/network.yaml index d1745430..7f84e00c 100755 --- a/packages/network.yaml +++ b/packages/network.yaml @@ -25,7 +25,7 @@ sensor: 'Withings Scale' ]) and(as_timestamp(now()) - as_timestamp(item.last_changed)) > 600 -%} - {{ item.attributes.friendly_name }} - {{((as_timestamp(now()) - as_timestamp(item.last_changed))/60) | round() }} minutes + {{ item.attributes.friendly_name }} {%- if not loop.last -%} {{' '}} diff --git a/script/speech_processing.yaml b/script/speech_processing.yaml index d116e70f..94bc0c7c 100755 --- a/script/speech_processing.yaml +++ b/script/speech_processing.yaml @@ -12,7 +12,7 @@ speech_processing: - service: mqtt.publish data_template: topic: 'polly/lastmsg' - payload: "This message is from {{ now().strftime('%-I') }}:{{ now().strftime('%M') }} {{ now().strftime('%p') }}. {{ speech_message }}" + payload: "This message is from {{ now().strftime('%-I') }}:{{ now().strftime('%M') }} {{ now().strftime('%p') }}. {{ speech_message | truncate(254)}}" retain: true - condition: and