Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.60 KB | None | 0 0
  1. ########################################################################
  2. ### Shelly Cloud Component
  3. ### https://github.com/marcogazzola/custom_components
  4. ########################################################################
  5.  
  6. shelly_cloud:
  7.   enabled_components:
  8.    - sensor
  9.     - switch
  10.     - cover
  11.   devices:
  12.  
  13. ########################################################################
  14. ### PIANO TERRA
  15. ########################################################################
  16.  
  17.     ## shelly1 32C62D - IP: 192.168.50.59
  18.     - ip_address: 192.168.50.59
  19.       # username: !secret shelly_username
  20.       # password: !secret shelly_password
  21.       name: shelly_salone1
  22.       scan_interval:
  23.         - minutes: 2
  24.       monitored_conditions:
  25.        - SYSTEM
  26.         - WIFI
  27.         - MQTT
  28.         - CLOUD
  29.         - FIRMWARE
  30.    
  31.     ## shelly1 058782 - IP: 192.168.50.60
  32.     - ip_address: 192.168.50.60
  33.       # username: !secret shelly_username
  34.       # password: !secret shelly_password
  35.       name: shelly_salone2
  36.       scan_interval:
  37.         - minutes: 2
  38.       monitored_conditions:
  39.        - SYSTEM
  40.         - WIFI
  41.         - MQTT
  42.         - CLOUD
  43.         - FIRMWARE
  44.      
  45. ########################################################################
  46.  
  47. automation:
  48.   - alias: 'Shelly force status update'
  49.     initial_state: 'on'
  50.     trigger:
  51.       - platform: homeassistant
  52.         event: start
  53.     action:
  54.       - service: mqtt.publish
  55.         data:
  56.           topic: "shellies/command"
  57.           payload: "update"
  58.  
  59. ########################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement