mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 01:08:03 +01:00
commit
5732f3b044
3 changed files with 7 additions and 9 deletions
|
@ -143,37 +143,37 @@ CONFIG_SCHEMA = cv.Schema(
|
||||||
cv.Optional("power_delivered_l1"): sensor.sensor_schema(
|
cv.Optional("power_delivered_l1"): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_KILOWATT,
|
unit_of_measurement=UNIT_KILOWATT,
|
||||||
accuracy_decimals=3,
|
accuracy_decimals=3,
|
||||||
device_class=DEVICE_CLASS_CURRENT,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
),
|
),
|
||||||
cv.Optional("power_delivered_l2"): sensor.sensor_schema(
|
cv.Optional("power_delivered_l2"): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_KILOWATT,
|
unit_of_measurement=UNIT_KILOWATT,
|
||||||
accuracy_decimals=3,
|
accuracy_decimals=3,
|
||||||
device_class=DEVICE_CLASS_CURRENT,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
),
|
),
|
||||||
cv.Optional("power_delivered_l3"): sensor.sensor_schema(
|
cv.Optional("power_delivered_l3"): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_KILOWATT,
|
unit_of_measurement=UNIT_KILOWATT,
|
||||||
accuracy_decimals=3,
|
accuracy_decimals=3,
|
||||||
device_class=DEVICE_CLASS_CURRENT,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
),
|
),
|
||||||
cv.Optional("power_returned_l1"): sensor.sensor_schema(
|
cv.Optional("power_returned_l1"): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_KILOWATT,
|
unit_of_measurement=UNIT_KILOWATT,
|
||||||
accuracy_decimals=3,
|
accuracy_decimals=3,
|
||||||
device_class=DEVICE_CLASS_CURRENT,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
),
|
),
|
||||||
cv.Optional("power_returned_l2"): sensor.sensor_schema(
|
cv.Optional("power_returned_l2"): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_KILOWATT,
|
unit_of_measurement=UNIT_KILOWATT,
|
||||||
accuracy_decimals=3,
|
accuracy_decimals=3,
|
||||||
device_class=DEVICE_CLASS_CURRENT,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
),
|
),
|
||||||
cv.Optional("power_returned_l3"): sensor.sensor_schema(
|
cv.Optional("power_returned_l3"): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_KILOWATT,
|
unit_of_measurement=UNIT_KILOWATT,
|
||||||
accuracy_decimals=3,
|
accuracy_decimals=3,
|
||||||
device_class=DEVICE_CLASS_CURRENT,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
),
|
),
|
||||||
cv.Optional("reactive_power_delivered_l1"): sensor.sensor_schema(
|
cv.Optional("reactive_power_delivered_l1"): sensor.sensor_schema(
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
The firmware files for the STM microcontroller (shelly-dimmer-stm32_*.bin) are taken from
|
|
||||||
https://github.com/jamesturton/shelly-dimmer-stm32 and GPLv3 licensed.
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Constants used by esphome."""
|
"""Constants used by esphome."""
|
||||||
|
|
||||||
__version__ = "2022.4.0b2"
|
__version__ = "2022.4.0b3"
|
||||||
|
|
||||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue