Updatd to 2022.10 and fixed Moon tweets.
This commit is contained in:
parent
7ee79dddd7
commit
4fc7a25c6f
|
@ -1 +1 @@
|
||||||
2022.9.7
|
2022.10.0
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue