Skip to content

Commit

Permalink
Add Bathroom dryer (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon authored Oct 4, 2024
1 parent 1619a05 commit e25b86f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion custom_components/echonetlite/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
UnitOfVolume,
UnitOfVolumeFlowRate,
)
from homeassistant.components.sensor import (
from homeassistant.components.sensor.const import (
ATTR_STATE_CLASS,
SensorStateClass,
SensorDeviceClass,
Expand Down Expand Up @@ -555,6 +555,19 @@
CONF_UNIT_OF_MEASUREMENT: UnitOfVolume.LITERS,
},
},
0x73: { # Bathroom dryer
0xBA: {
CONF_TYPE: SensorDeviceClass.HUMIDITY,
CONF_STATE_CLASS: SensorStateClass.MEASUREMENT,
},
0xBB: {
CONF_TYPE: SensorDeviceClass.TEMPERATURE,
CONF_STATE_CLASS: SensorStateClass.MEASUREMENT,
},
0xE0: {
CONF_ICON: "mdi:motion-sensor",
},
},
0x79: { # Home solar power generation
0xA0: {
CONF_STATE_CLASS: SensorStateClass.MEASUREMENT,
Expand Down

0 comments on commit e25b86f

Please sign in to comment.