13 lines
399 B
YAML
13 lines
399 B
YAML
---
|
|
|
|
- name: restart hass-zigbee2mqtt container
|
|
docker_container:
|
|
name: hass-zigbee2mqtt
|
|
state: started
|
|
restart: true
|
|
when:
|
|
- hass_zigbee2mqtt_restart_handler|default(true)
|
|
- hass_zigbee2mqtt_container is defined or hass_zigbee2mqtt_container.changed|default(true)|bool
|
|
#- not hass_zigbee2mqtt_container.changed
|
|
- hass_container_state|default("stopped") == "started"
|