Add MQTT subentry support for date, datetime and time platform#45454
Open
jbouwh wants to merge 1 commit into
Open
Add MQTT subentry support for date, datetime and time platform#45454jbouwh wants to merge 1 commit into
jbouwh wants to merge 1 commit into
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Open
21 tasks
Contributor
There was a problem hiding this comment.
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
dateunder a list item (mqtt: - date:), which is inconsistent with other MQTT platform docs and likely not valid configuration. Update the example to usemqtt:>date:with a list of entities.
```yaml
source/_integrations/datetime.mqtt.markdown:18
- The YAML example that follows this code fence appears to nest
datetimeunder a list item (mqtt: - datetime:), which is inconsistent with other MQTT platform docs and likely not valid configuration. Update the example to usemqtt:>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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
Add MQTT subentry support for date, datetime and time platform
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.