This mqtt sensor platform uses the mqtt message payload as the sensor value.
Home assistant sensor.
Currently home assistant only polls for hue motion sensor data every 5 seconds which makes motion events slow and unusable for automatic lights and other automations.
An am2301 sensor will generate one entity for temperature one for humidity and one for dew point.
To use your mqtt sensor in your installation add the following to your configuration yaml file.
For each sensor present entities will be created in numbers equal to the items present below him.
Sensors with missing unit of measurement are showing as discrete values.
None sets the initial state for automations on or off.
The way these sensors are displayed in the frontend can be modified in the customize section.
Home assistant currently supports a wide range of sensors.
This template contains no entities that will trigger an update so we add in a reference to the sensor date sensor from the time date which will update once a day.
I sort of get.
Initial state boolean optional default.
The template sensors are not limited to use attributes from other entities but can also work with home assistant s template extensions.
There was an open pull request to make this interval configurable but it was declined and closed by ha s founder balloob.
When discovery is enabled tasmota will send all the sensors information to home assistant.
They are able to display information which are provides by home assistant directly are gathered from web services and of course physical devices.
This allows you to change your customize section and see your changes.
Otherwise the initial state will be undefined.
Home assistant offers a service to reload the core configuration while home assistant is running.