Add entity translations to withings (#99194)

* Add entity translations to Withings

* Add entity translations to Withings
This commit is contained in:
Joost Lekkerkerker 2023-09-09 18:48:09 +02:00 committed by GitHub
parent 743ce46311
commit 868fdd81da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 132 additions and 36 deletions

View file

@ -36,7 +36,7 @@ BINARY_SENSORS = [
key=Measurement.IN_BED.value,
measurement=Measurement.IN_BED,
measure_type=NotifyAppli.BED_IN,
name="In bed",
translation_key="in_bed",
icon="mdi:bed",
update_type=UpdateType.WEBHOOK,
device_class=BinarySensorDeviceClass.OCCUPANCY,