Fix HmIP-HAP attributes unit (#49476)

pull/49500/head
dfigus 2021-04-20 22:06:00 +02:00 committed by GitHub
parent 12a9695798
commit d517d7232f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ HM_UNIT_HA_CAST = {
"FREQUENCY": FREQUENCY_HERTZ,
"VALUE": "#",
"VALVE_STATE": PERCENTAGE,
"CARRIER_SENSE_LEVEL": PERCENTAGE,
"DUTY_CYCLE_LEVEL": PERCENTAGE,
}
HM_DEVICE_CLASS_HA_CAST = {