Advertisement
eastpole

YAML, local network, problems with HASS

Mar 31st, 2023
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.48 KB | Software | 0 0
  1. # Example configuration.yaml entry
  2. automation:
  3.   - alias: "Internet Speed Glow Connect Great"
  4.     trigger:
  5.       - platform: template
  6.         value_template: "{{ states('sensor.speedtest_download')|float >= 10 }}"
  7.     action:
  8.       - service: shell_command.green
  9.  
  10.   - alias: "Internet Speed Glow Connect Poor"
  11.     trigger:
  12.       - platform: template
  13.         value_template: "{{ states('sensor.speedtest_download')|float < 10 }}"
  14.     action:
  15.       - service: shell_command.red
Tags: HASS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement