mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-05 20:53:41 +00:00
#285 - More fine tuning.
This commit is contained in:
parent
4e226a5bd9
commit
c8b349dee8
@ -25,7 +25,7 @@ sensor:
|
|||||||
'Withings Scale'
|
'Withings Scale'
|
||||||
])
|
])
|
||||||
and(as_timestamp(now()) - as_timestamp(item.last_changed)) > 600 -%}
|
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 -%}
|
{%- if not loop.last -%}
|
||||||
{{'
|
{{'
|
||||||
'}}
|
'}}
|
||||||
|
@ -12,7 +12,7 @@ speech_processing:
|
|||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data_template:
|
data_template:
|
||||||
topic: 'polly/lastmsg'
|
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
|
retain: true
|
||||||
|
|
||||||
- condition: and
|
- condition: and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user