Updatd to 2022.10 and fixed Moon tweets.

This commit is contained in:
ccostan 2022-10-05 17:15:06 -04:00
parent 7ee79dddd7
commit 4fc7a25c6f
2 changed files with 2 additions and 4 deletions

View File

@ -1 +1 @@
2022.9.7 2022.10.0

View File

@ -12,8 +12,6 @@
sensor: sensor:
- platform: moon
- platform: rest - platform: rest
scan_interval: 1800 scan_interval: 1800
name: SpaceX Starman name: SpaceX Starman
@ -91,7 +89,7 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.moon entity_id: sensor.moon
to: 'Full Moon' to: 'full_moon'
action: action:
- delay: '0{{ (range(1, 5)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00' - delay: '0{{ (range(1, 5)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
- service: script.tweet_engine_image - service: script.tweet_engine_image