Add device class pH to Poolsense (#101122)

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

View File

@ -29,8 +29,8 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
), ),
SensorEntityDescription( SensorEntityDescription(
key="pH", key="pH",
translation_key="ph",
icon="mdi:pool", icon="mdi:pool",
device_class=SensorDeviceClass.PH,
), ),
SensorEntityDescription( SensorEntityDescription(
key="Battery", key="Battery",

View File

@ -28,9 +28,6 @@
"chlorine": { "chlorine": {
"name": "Chlorine" "name": "Chlorine"
}, },
"ph": {
"name": "pH"
},
"last_seen": { "last_seen": {
"name": "Last seen" "name": "Last seen"
}, },