Remove references to removed attribute (#22527)

* Remove references to removed attribute

* Readded part deleted
This commit is contained in:
Keilin Bickar 2022-04-26 13:34:02 -04:00 committed by GitHub
parent 1f4aca0735
commit 27b9d95ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ The Emulated Kasa integration emulates a TP-Link Kasa smart plug and announces t
For example, the [Sense Energy Monitor](/integrations/sense) can use this to identify power usage.
The configuration includes a list of entities to expose with attributes for the published name and current power usage.
If the entity is a sensor or has a `current_power_w` attribute (such as in a smart switch), that value will be reported as the current power usage unless the power field is defined.
If the entity is a sensor, that value will be reported as the current power usage unless the power field is defined.
The power field can contain a hardcoded value, a sensor, or a template (see configuration example).
<div class='note'>
@ -66,9 +66,6 @@ A full configuration sample looks like the one below.
# Example configuration.yaml entry
emulated_kasa:
entities:
# uses the current_power_w attribute of the switch
switch.ac:
name: "A/C"
# uses the sensor state value
sensor.power_meter:
name: "Power Meter"