Allow binary sensor state to be None (#1161)

This commit is contained in:
Franck Nijhof 2021-12-22 12:24:57 +01:00 committed by GitHub
parent e466749837
commit 4de9057982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ Properties should always only return information from memory and not do I/O (lik
| Name | Type | Default | Description
| ---- | ---- | ------- | -----------
| is_on| boolean | **Required** | If the binary sensor is currently on or off.
| is_on| boolean | `None` | **Required** | If the binary sensor is currently on or off.
| device_class | string | `None` | Type of binary sensor.
### Available device classes