Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command_line:
- - sensor:
- name: Recipe Sensor
- unique_id: 575e2cce-206c-4886-9c15-ff89e43b57fd
- command: "python3 /config/python_scripts/get_recipes.py {{ states('input_text.recipe\
- _tag') }}"
- scan_interval: 10800 # Update interval in seconds
- value_template: '{{ value_json["URL_1"] }}'
- json_attributes:
- - Title_1
- - URL_1
- - Description_1
- - Title_2
- - URL_2
- - Description_2
- - Title_3
- - URL_3
- - Description_3
- - sensor:
- name: Recipe Script Output
- unique_id: df03df65-f84c-48e4-bd2e-6ef469648f35
- command: "cat /config/www/recipe_script_output.json"
- scan_interval: 10800 # Update interval in seconds
- shell_command:
- run_recipe_script: "python3 /config/python_scripts/get_recipes.py {{ tag }}"
- input_text:
- recipe_tag:
- name: Recipe Tag
- initial: "dessert"
- max: 100
- input_boolean:
- recipe_switch:
- name: Recipe Switch State
- initial: off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement