Add Time Entity Support to MQTT Discovery #2348
Unanswered
palinf
asked this question in
Core functionality
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your core improvement
Add Time entity support to MQTT discovery.
Currently, MQTT discovery supports many entity types (number, select, button, sensor, switch, etc.) but does not support the
timeentity platform, even though time entities are a core building block integration in Home Assistant (introduced in 2022.12).This prevents MQTT devices and AppDaemon apps from creating time entities programmatically through MQTT discovery, forcing developers to use workarounds like number entities with minute conversions, text entities with manual validation, or requiring users to manually create time helpers.
Current limitations
The MQTT integration does not support time entities in discovery, which means:
The MQTT discovery documentation lists supported components, and
timeis notably absent despite being a standard entity type.Technical benefits
Additional context
Related entity types that could also benefit from MQTT discovery support:
dateentities (for date inputs)datetimeentities (for combined date+time inputs)These would complement the existing number, select, text, and button entities already supported.
Use case example: A thermostat scheduler app that needs users to set "return to normal mode at HH:MM" - currently has no clean way to create this time input via MQTT discovery.
Home Assistant time entity documentation: https://www.home-assistant.io/integrations/time/
Beta Was this translation helpful? Give feedback.
All reactions