Make Hydrawise compliant with new naming standards (#100921)
* Make Hydrawise compliant with new naming standards * Update binary_sensor.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
29da43b9a9
commit
73cfe659ea
5 changed files with 29 additions and 6 deletions
|
@ -23,14 +23,13 @@ from .entity import HydrawiseEntity
|
|||
|
||||
BINARY_SENSOR_STATUS = BinarySensorEntityDescription(
|
||||
key="status",
|
||||
name="Status",
|
||||
device_class=BinarySensorDeviceClass.CONNECTIVITY,
|
||||
)
|
||||
|
||||
BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...] = (
|
||||
BinarySensorEntityDescription(
|
||||
key="is_watering",
|
||||
name="Watering",
|
||||
translation_key="watering",
|
||||
device_class=BinarySensorDeviceClass.MOISTURE,
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue