Advertisement
Guest User

Untitled

a guest
Mar 15th, 2023
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. # Loads default set of integrations. Do not remove.
  2. default_config:
  3.  
  4. # Load frontend themes from the themes folder
  5. frontend:
  6. themes: !include_dir_merge_named themes
  7.  
  8. # Text to speech
  9. tts:
  10. - platform: google_translate
  11.  
  12. automation: !include automations.yaml
  13. script: !include scripts.yaml
  14. scene: !include scenes.yaml
  15. template: !include templates.yaml
  16.  
  17.  
  18. ### Solax REST command online sensor ###
  19. rest:
  20. - authentication: digest
  21. scan_interval: 10
  22. resource: http://192.168.1.xxx/
  23. payload: "optType=ReadRealTimeData&pwd=XXXmypasswordXXX"
  24. method: POST
  25. headers:
  26. Content-Type: "application/x-www-form-urlencoded"
  27. sensor:
  28. - name: "solax_rest_data"
  29. json_attributes:
  30. - sn
  31. - ver
  32. - type
  33. - Data
  34. - Information
  35. value_template: 'OK' # dummy value, not used; avoids the "State max length is 255 characters" error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement