If its up and I hit a zigbee button I want it to close and vice versa. However there is no way for me to add status of the door is open to initiate a close etc. It would be easiest to have the status of the door and the button press activate a publish command.
I seem to be having issues doing so. I am a novice at HA, full disclosure lol
I added this in the configuration.yaml with the added on file viewer. Yet I cannot see said sensor in my entities list.
sensor:
- platform: mqtt # This is an MQTT device
name: "Garage Door" # Choose an easy-to-remember name
state_topic: "Garage Door/status/door" # The topic to read the current state
You can also integrate with Home Assitant through MQTT. Since version 1.7, ratgdo has home assistant auto discovery over MQTT. When ratgdo boots, three discovery messages are sent via mqtt which will add a door, light and obstruction sensor entities under a single device in Home Assistant.
There should be no need to manually define an MQTT Sensor.