add option to set device options
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
32c3ce06f8
commit
778f0eecab
@ -96,4 +96,11 @@ zigbee2mqtt_homeassistant_status_topic: "hass/status"
|
|||||||
zigbee2mqtt_devices_ban: []
|
zigbee2mqtt_devices_ban: []
|
||||||
zigbee2mqtt_devices_whitelist: []
|
zigbee2mqtt_devices_whitelist: []
|
||||||
|
|
||||||
|
# @var zigbee2mqtt_device_options: $ "_unset"
|
||||||
|
# @var zigbee2mqtt_device_options:example: >
|
||||||
|
# zigbee2mqtt_device_options:
|
||||||
|
# occupancy_timeout: 130
|
||||||
|
# temperature_precision: 1
|
||||||
|
# @end
|
||||||
|
|
||||||
zigbee2mqtt_timezone: Europe/Berlin
|
zigbee2mqtt_timezone: Europe/Berlin
|
||||||
|
@ -50,6 +50,11 @@ advanced:
|
|||||||
elapsed: {{ zigbee2mqtt_elapsed }}
|
elapsed: {{ zigbee2mqtt_elapsed }}
|
||||||
homeassistant_discovery_topic: "{{ zigbee2mqtt_homeassistant_discovery_topic }}"
|
homeassistant_discovery_topic: "{{ zigbee2mqtt_homeassistant_discovery_topic }}"
|
||||||
homeassistant_status_topic: "{{ zigbee2mqtt_homeassistant_status_topic }}"
|
homeassistant_status_topic: "{{ zigbee2mqtt_homeassistant_status_topic }}"
|
||||||
|
{% if zigbee2mqtt_device_options is defined %}
|
||||||
|
|
||||||
|
device_options:
|
||||||
|
{{ zigbee2mqtt_device_options | to_nice_yaml | indent(2) }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
devices: "devices.yaml"
|
devices: "devices.yaml"
|
||||||
groups: "groups.yaml"
|
groups: "groups.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user