mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-09 00:55:34 +00:00
Updated Joke Logic with a Simplier (I think) If Statement.
This commit is contained in:
parent
f732fb37da
commit
19369a7c43
@ -229,7 +229,7 @@ tweet_engine_setup:
|
||||
{{ images[topic]|random }}
|
||||
{%- endmacro -%}
|
||||
|
||||
{% if topic == "joke" -%}
|
||||
{% if pick == "joke" -%}
|
||||
{{ "\"/config/www/custom_ui/floorplan/images/branding/jokes/Tweet_" ~ range(1, 72) | random ~ ".png\"" }}
|
||||
{%- else -%}
|
||||
{{ image(pick) }}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 42 KiB |
Loading…
x
Reference in New Issue
Block a user