mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-28 08:50:34 +00:00
This should fix #103 and get rid of those entity_ids in templates
This commit is contained in:
@@ -125,18 +125,18 @@ automation:
|
||||
state: 'full_moon'
|
||||
action:
|
||||
- service: script.jarvis_voice
|
||||
data_template:
|
||||
who: '{{ states.sensor.room_audio.state }}'
|
||||
message: >
|
||||
<p>
|
||||
{{ [
|
||||
'There is a Full Moon out tonight. and this time it is the <emphasis>actual</emphasis> moon. And <emphasis>not</emphasis> the neighbor. ',
|
||||
'Hey look, There is the full moon. ',
|
||||
'The moon is <emphasis>huge<e/mphasis>! And full. ',
|
||||
'If you went outside right now you might see the full moon. <break time="2s"/> Of course if you wait long enough there will be one inside the house too. ',
|
||||
'If you want to see the full moon, <emphasis>tonight is the night</emphasis>.']
|
||||
| random }}
|
||||
</p>
|
||||
data_template:
|
||||
who: '{{ states.sensor.room_audio.state }}'
|
||||
message: >
|
||||
<p>
|
||||
{{ [
|
||||
'There is a Full Moon out tonight. and this time it is the <emphasis>actual</emphasis> moon. And <emphasis>not</emphasis> the neighbor. ',
|
||||
'Hey look, There is the full moon. ',
|
||||
'The moon is <emphasis>huge<e/mphasis>! And full. ',
|
||||
'If you went outside right now you might see the full moon. <break time="2s"/> Of course if you wait long enough there will be one inside the house too. ',
|
||||
'If you want to see the full moon, <emphasis>tonight is the night</emphasis>.']
|
||||
| random }}
|
||||
</p>
|
||||
- service: script.twitter_notify_image
|
||||
data_template:
|
||||
tweet: >-
|
||||
|
Reference in New Issue
Block a user