From a921a169beb85cff58daf4ad08d04e6e6613bdb5 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Sun, 8 May 2022 16:08:19 +0300 Subject: [PATCH] Mystrom - remove power consumption from switch (#22678) --- source/_integrations/mystrom.markdown | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/source/_integrations/mystrom.markdown b/source/_integrations/mystrom.markdown index 1bed3d00751..78a63696eab 100644 --- a/source/_integrations/mystrom.markdown +++ b/source/_integrations/mystrom.markdown @@ -26,7 +26,6 @@ There is currently support for the following device types within Home Assistant: - [Setup of myStrom Buttons](#setup-of-mystrom-buttons) - [Switch](#switch) - [Setup](#setup) - - [Get the current power consumption](#get-the-current-power-consumption) ## Light @@ -158,7 +157,7 @@ If you have set [`login_attempts_threshold`](/integrations/http/) and forget to ## Switch -The `mystrom` switch platform allows you to control the state of your [myStrom](https://mystrom.ch/en/) switches. The built-in sensor is measuring the power consumption while the switch is on. +The `mystrom` switch platform allows you to control the state of your [myStrom](https://mystrom.ch/en/) switches. ### Setup @@ -188,23 +187,3 @@ name: type: string default: myStrom Switch {% endconfiguration %} - - -### Get the current power consumption - -The switch is measuring the current power consumption. To expose this as a sensor use a [`template` sensor](/integrations/template). - -{% raw %} - -```yaml -# Example configuration.yaml entry -sensor: - - platform: template - sensors: - power: - friendly_name: "Current Power" - unit_of_measurement: "W" - value_template: "{{ state_attr('switch.office', 'current_power_w') }}" -``` - -{% endraw %}