You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The sensor is `on` if the template evaluates as `True` and `off` otherwise. The actual appearance in the frontend (`Open`/`Closed`, `Detected`/`Clear` etc) depends on the sensor’s device_class value
59
61
required: true
60
62
type: template
63
+
availability_template:
64
+
description: Defines a template to get the `available` state of the component. If the template returns `true`, the device is `available`. If the template returns any other value, the device will be `unavailable`. If `availability_template` is not configured, the component will always be `available`.
65
+
required: false
66
+
type: template
67
+
default: true
61
68
icon_template:
62
69
description: Defines a template for the icon of the sensor.
63
70
required: false
@@ -118,6 +125,7 @@ sensor of `furnace` that provides a current reading for the fan motor, we can
118
125
determine if the furnace is running by checking that it is over some threshold:
0 commit comments