Fix parameter entity for entity_details_show

Solves #1987
This commit is contained in:
Edward Firmo
2024-03-27 16:45:30 +01:00
parent c2ad0e9669
commit ec74ebcc79

View File

@@ -233,11 +233,11 @@ and provides a structured way to return to either the home page or a specific bu
**Usage:** **Usage:**
Ideal for interfaces requiring detailed entity information across various contexts. Ideal for interfaces requiring detailed entity information across various contexts.
By specifying the `entity_id` and `back_page`, users are offered a seamless navigation experience, By specifying the `entity` and `back_page`, users are offered a seamless navigation experience,
ensuring they can easily access detailed information and return to their initial navigation point within the interface. ensuring they can easily access detailed information and return to their initial navigation point within the interface.
**Parameters:** **Parameters:**
- `entity_id` (string): The unique identifier of the entity for which details are displayed. - `entity` (string): The unique identifier of the entity (`entity_id` in Home Assistant) for which details are displayed.
- `back_page` (string): The page identifier to return to after viewing entity details. - `back_page` (string): The page identifier to return to after viewing entity details.
Valid options are `home` for the home page or `buttonpage01` to `buttonpage04` for button pages. Valid options are `home` for the home page or `buttonpage01` to `buttonpage04` for button pages.
No other pages are supported to maintain navigation consistency. No other pages are supported to maintain navigation consistency.
@@ -246,7 +246,7 @@ No other pages are supported to maintain navigation consistency.
```yaml ```yaml
service: esphome.<your_panel_name>_entity_details_show service: esphome.<your_panel_name>_entity_details_show
data: data:
entity_id: "light.living_room" entity: "light.living_room"
back_page: "buttonpage01" back_page: "buttonpage01"
``` ```
> [!NOTE] > [!NOTE]