Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Loads default set of integrations. Do not remove.
- default_config:
- # Load frontend themes from the themes folder
- frontend:
- themes: !include_dir_merge_named themes
- # Text to speech
- tts:
- - platform: google_translate
- automation: !include automations.yaml
- script: !include scripts.yaml
- scene: !include scenes.yaml
- template: !include templates.yaml
- ### Solax REST command online sensor ###
- rest:
- - authentication: digest
- scan_interval: 10
- resource: http://192.168.1.xxx/
- payload: "optType=ReadRealTimeData&pwd=XXXmypasswordXXX"
- method: POST
- headers:
- Content-Type: "application/x-www-form-urlencoded"
- sensor:
- - name: "solax_rest_data"
- json_attributes:
- - sn
- - ver
- - type
- - Data
- - Information
- 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