I am a novice at this and I am trying to configure an aqara h1 light switch into home assistant. the software is all in containers using portainer and the h1 switch is setup and working in the zigbee frontend.
when i paste this template in to the home assistant configuration yaml, I get and error device not found.
any help would be most appreciated.
home assistant version is 2024.9.3
devices:
# First device
‘0x54ef441000ca91cd’:
friendly_name: ‘light_sw_bedroom_1’
retain: true
disabled: false
qos: 1
debounce: 0.5
debounce_ignore:
- action
- brightness
# Set homeassistant: null to skip discovery for this device
homeassistant:
# Applied to all discovered entities.
expire_after: 30
# Only applied to discovered temperature sensor.
temperature:
icon: mdi:oil-temperature
# Omit values by setting them to null, e.g. don’t send device_class
device_class: null
# Device type specific examples
occupancy_timeout: 120
no_occupancy_since: [10, 600]
You should be able to customize the devices through the Z2M frontend. Zigbee2MQTT devices are located in Zigbee2MQTTs files (configration.yaml, devices.yaml) not in the Home Assistant configuration.yaml.
it is all sorted now, i was missing this line for the zigbee2mqtt yaml. # Optional: Home Assistant integration (MQTT discovery) (default: false)
homeassistant: true
once that was in all the switches were discovered.