Skip to content

Add MQTT subentry support for date, datetime and time platform#45454

Open
jbouwh wants to merge 1 commit into
nextfrom
mqtt-datetime-subentry
Open

Add MQTT subentry support for date, datetime and time platform#45454
jbouwh wants to merge 1 commit into
nextfrom
mqtt-datetime-subentry

Conversation

@jbouwh
Copy link
Copy Markdown
Contributor

@jbouwh jbouwh commented May 19, 2026

Proposed change

Add MQTT subentry support for date, datetime and time platform

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Copilot AI review requested due to automatic review settings May 19, 2026 20:30
@jbouwh jbouwh requested review from bdraco and emontnemery as code owners May 19, 2026 20:30
@home-assistant home-assistant Bot added has-parent This PR has a parent PR in another repo next This PR goes into the next branch labels May 19, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2026

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 960c2d7
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/6a0cc85049ccb60009fc3093
😎 Deploy Preview https://deploy-preview-45454--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Home Assistant website documentation to reflect new MQTT subentry support for the Date, Date/Time, and Time MQTT platforms, so readers can configure these entities via the UI path (MQTT subentries) in addition to YAML.

Changes:

  • Updates the MQTT platform pages (date, date/time, time) to mention configuring via MQTT subentries.
  • Adds Date, Date/Time, and Time to the “Configuration of MQTT components via Subentries” list on the main MQTT integration page.
  • Adjusts the MQTT integration platform lists (but currently introduces a formatting error in the discovery list).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
source/_integrations/time.mqtt.markdown Adds subentry-based configuration option to the MQTT Time docs.
source/_integrations/date.mqtt.markdown Adds subentry-based configuration option to the MQTT Date docs.
source/_integrations/datetime.mqtt.markdown Adds subentry-based configuration option to the MQTT Date/Time docs.
source/_integrations/mqtt.markdown Adds Date/Date-Time/Time to the subentries platform list, but includes a malformed Vacuum list item.
Comments suppressed due to low confidence (2)

source/_integrations/date.mqtt.markdown:18

  • The YAML example that follows this code fence appears to nest date under a list item (mqtt: - date:), which is inconsistent with other MQTT platform docs and likely not valid configuration. Update the example to use mqtt: > date: with a list of entities.
```yaml

source/_integrations/datetime.mqtt.markdown:18

  • The YAML example that follows this code fence appears to nest datetime under a list item (mqtt: - datetime:), which is inconsistent with other MQTT platform docs and likely not valid configuration. Update the example to use mqtt: > datetime: with a list of entities.
```yaml

- [Text](/integrations/text.mqtt/)
- [Time](/integrations/time.mqtt/)
- [Vacuum](/integrations/vacuum.mqtt/)
/- [Vacuum](/integrations/vacuum.mqtt/)
- [Climate (HVAC)](/integrations/climate.mqtt/)
- [Cover](/integrations/cover.mqtt/)
- [Date](/integrations/date.mqtt/)
- [Date Time](/integrations/datetime.mqtt/)
## Configuration

To use an MQTT time entity in your installation, add the following to your {% term "`configuration.yaml`" %} file.
To use an MQTT time entity in your installation, [add an MQTT device as a subentry](/integrations/mqtt/#configuration), or add the following to your {% term "`configuration.yaml`" %} file.
## Configuration

To use an MQTT date entity in your installation, add the following to your {% term "`configuration.yaml`" %} file.
To use an MQTT date entity in your installation, [add an MQTT device as a subentry](/integrations/mqtt/#configuration), or add the following to your {% term "`configuration.yaml`" %} file.
## Configuration

To use an MQTT date/time entity in your installation, add the following to your {% term "`configuration.yaml`" %} file.
To use an MQTT date/time entity in your installation, [add an MQTT device as a subentry](/integrations/mqtt/#configuration), or add the following to your {% term "`configuration.yaml`" %} file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-parent This PR has a parent PR in another repo next This PR goes into the next branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants