Hello all,
I am trying to set up my z-uno to be a light switch and have different sensors like a door and temp sensor.
I am stuck however, I have the channels setup
Code: Select all
ZUNO_SETUP_CHANNELS(
ZUNO_SENSOR_MULTILEVEL_TEMPERATURE(getterTemperature),
ZUNO_SENSOR_MULTILEVEL_HUMIDITY(getterHumidity),
ZUNO_SENSOR_BINARY_DOOR_WINDOW(getterDoor),
ZUNO_SWITCH_BINARY(getterLight, setterLight)
);
The binary switch channel isn't being transmitted to HomeAssistant. I can see my temperature, humidity, and the door sensor, it's just not creating the switch channel which is for a light. I'm not sure what I am missing. Because if I take out all the sensors and leave just the binary switch, it works and I can see it in HomeAssistant and toggle it. If anyone has any tips let me know. Thanks