From 7eb1c26e9c634d8b4e8dec0cd6539effbd08359f Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 19 Sep 2023 20:17:56 +0200 Subject: [PATCH] Align documented binary_sensor attributes with implementation (#1911) Co-authored-by: Franck Nijhof --- docs/core/entity/binary-sensor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/entity/binary-sensor.md b/docs/core/entity/binary-sensor.md index 5be53b1b..358711f6 100644 --- a/docs/core/entity/binary-sensor.md +++ b/docs/core/entity/binary-sensor.md @@ -13,8 +13,8 @@ Properties should always only return information from memory and not do I/O (lik | Name | Type | Default | Description | ---- | ---- | ------- | ----------- -| is_on| boolean | `None` | **Required**. If the binary sensor is currently on or off. -| device_class | string | `None` | Type of binary sensor. +| is_on| bool | None | `None` | **Required**. If the binary sensor is currently on or off. +| device_class | BinarySensorDeviceClass | None | `None` | Type of binary sensor. ### Available device classes