From 56c52262196742d067aab6d618fa6c87effc162f Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Tue, 22 Jun 2021 19:28:58 +0300 Subject: [PATCH] Migrate Switcher entity attributes to sensors (#18224) --- source/_integrations/switcher_kis.markdown | 27 ++++++++-------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/source/_integrations/switcher_kis.markdown b/source/_integrations/switcher_kis.markdown index 7e594ad46f0..b2a7e93e320 100644 --- a/source/_integrations/switcher_kis.markdown +++ b/source/_integrations/switcher_kis.markdown @@ -48,21 +48,14 @@ device_password: type: string {% endconfiguration %} -## Switch State Attributes +## Sensors -| Attribute | Type | Description | Example | -| ------------------ | ------- | ------------------------------------------------------ | ----------------- | -| `friendly_name` | string | Defaults to the device's configured name. | "Switcher Boiler" | -| `auto_off_set` | string | The auto shutdown time limit configured on the device. | "01:30:00" | -| `remaining_time` | string | Time remaining to shutdown (auto or timer). | "01:29:41" | -| `electric_current` | float | The electric current in amps. | 12.5 | -| `current_power_w` | integer | The current power used in watts. | 2756 | - -
- - Please note, the following attributes are not eligible when the device is off and therefore will not appear as state attributes: `remaining_time`, `electric_current`, `current_power_w`. - -
+| Sensor Name | Description | Example | +| ------------------- | ------------------------------------------------------ | ----------------- | +| `Auto Shutdown` | The auto shutdown time limit configured on the device | 01:30:00 | +| `Remaining Time` | Time remaining to shutdown (auto or timer) | 01:29:41 | +| `Electric Current` | The electric current in amps | 12.5 A | +| `Power Consumption` | The power consumption in watts | 2756 W | ## Services @@ -74,8 +67,8 @@ Meaning the device will turn itself off when reaching the auto-off configuration | Service Field | Mandatory | Description | Example | | ------------- | --------- | -------------------------------------------------------------------------------------- | -------------------------- | -| `entity_id` | Yes | Name of the entity id associated with the integration, used for permission validation. | switch.switcher_kis_boiler | -| `auto_off` | Yes | Time period string containing hours and minutes. | "02:30" | +| `entity_id` | Yes | Name of the entity id associated with the integration, used for permission validation | switch.switcher_kis_boiler | +| `auto_off` | Yes | Time period string containing hours and minutes | "02:30" | ### Service: `switcher_kis.turn_on_with_timer` @@ -85,5 +78,5 @@ Meaning the device will turn itself off when timer ends. Note: This does not affect the auto off timer. | Service Field | Mandatory | Description | Example | | ------------- | --------- | -------------------------------------------------------------------------------------- | -------------------------- | -| `entity_id` | Yes | Name of the entity id associated with the integration, used for permission validation. | switch.switcher_kis_boiler | +| `entity_id` | Yes | Name of the entity id associated with the integration, used for permission validation | switch.switcher_kis_boiler | | `timer_minutes` | Yes | Integer containing timer minutes (valid range 1 to 150) | 90 |