We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared by mper on HBT:
There is a feature in Home Assistant called MQTT discovery. If you put a standard message on the broker then HA will automatically create a sensor for that. This is an example of what I use to create a beer sensor with some value and attributes: homeassistant/sensor/${mdns}_beer${tap}/config: {\"name\":\"${mdns}_beer${tap}\",\"state_topic\":\"homeassistant/sensor/","${mdns}_beer${tap}/state\",\"json_attributes_topic\":\"homeassistant/","sensor/${mdns}_beer${tap}/","attr\",\"unique_id\":\"${mdns}_beer${tap}\"} homeassistant/sensor/${mdns}_beer${tap}/state: ${beer-name} homeassistant/sensor/${mdns}_beer${tap}/attr: {\"abv\":${beer-abv},\"abv\":${beer-abv},\"ibu\":${beer-ibu},\"ebc\":"${beer-ebc}}
There is a feature in Home Assistant called MQTT discovery. If you put a standard message on the broker then HA will automatically create a sensor for that.
This is an example of what I use to create a beer sensor with some value and attributes:
homeassistant/sensor/${mdns}_beer${tap}/config: {\"name\":\"${mdns}_beer${tap}\",\"state_topic\":\"homeassistant/sensor/","${mdns}_beer${tap}/state\",\"json_attributes_topic\":\"homeassistant/","sensor/${mdns}_beer${tap}/","attr\",\"unique_id\":\"${mdns}_beer${tap}\"} homeassistant/sensor/${mdns}_beer${tap}/state: ${beer-name} homeassistant/sensor/${mdns}_beer${tap}/attr: {\"abv\":${beer-abv},\"abv\":${beer-abv},\"ibu\":${beer-ibu},\"ebc\":"${beer-ebc}}
The text was updated successfully, but these errors were encountered:
This is going to have to wait till after I port to the ESP32 (#51).
Sorry, something went wrong.
No branches or pull requests
Shared by mper on HBT:
The text was updated successfully, but these errors were encountered: