Add missed call sensor to Freebox (#36895)

This commit is contained in:
Quentame 2020-06-30 21:55:46 +02:00 committed by GitHub
parent c1ec8971ae
commit 01ba578016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 83 additions and 36 deletions

View file

@ -46,6 +46,15 @@ CONNECTION_SENSORS = {
},
}
CALL_SENSORS = {
"missed": {
SENSOR_NAME: "Freebox missed calls",
SENSOR_UNIT: None,
SENSOR_ICON: "mdi:phone-missed",
SENSOR_DEVICE_CLASS: None,
},
}
TEMPERATURE_SENSOR_TEMPLATE = {
SENSOR_NAME: None,
SENSOR_UNIT: TEMP_CELSIUS,