New Netatmo integration

Sure no probs…

The Automation was quick to do and to get things started.

Getting the Reload feature to work takes some effort. Basically calling an script after option selection to fire a rest command.

alias: (System) Reload Integration Netatmo if Hall unavailable
description: ''
trigger:
  - platform: state
    to: unavailable
    for: '00:05:00'
    entity_id: climate.netatmo_hall
condition: []
action:
  - service: input_select.select_option
    data:
      option: Netatmo
    target:
      entity_id: input_select.select_integration
  - delay:
      hours: 0
      minutes: 0
      seconds: 3
      milliseconds: 0
  - service: script.reload_integration
  - service: notify.pushover
    data:
      target: stephen
      title: Netatmo integration just reloaded
      message: Netatmo reloaded due to Hall stat Unavailability
mode: single

Go here for instructions for Reloading integrations of your choice.

https://community.home-assistant.io/t/add-service-integration-reload/231940

The config.yaml REST command setup that works for me.

rest_command:
  reload_integration:
    url: !secret reload_integration_url # http://192.168.x.xx:xxxx/api/config/config_entries/entry/{{entity_id}}/reload
    method: POST
    headers:
      authorization: !secret api_bearer_token
      content-type: application/json
    payload: >
      {{entry_id}}
1 Like