Add device class pH to Flipr (#101121)

This commit is contained in:
Joost Lekkerkerker 2023-09-29 19:13:24 +02:00 committed by GitHub
parent 591ffa8b68
commit edcf0b6333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -25,8 +25,8 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
), ),
SensorEntityDescription( SensorEntityDescription(
key="ph", key="ph",
translation_key="ph",
icon="mdi:pool", icon="mdi:pool",
device_class=SensorDeviceClass.PH,
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.MEASUREMENT,
), ),
SensorEntityDescription( SensorEntityDescription(

View File

@ -40,9 +40,6 @@
"chlorine": { "chlorine": {
"name": "Chlorine" "name": "Chlorine"
}, },
"ph": {
"name": "pH"
},
"water_temperature": { "water_temperature": {
"name": "Water temperature" "name": "Water temperature"
}, },