mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Explain default behavior of expire_after
option for MQTT sensors (#24237)
This commit is contained in:
parent
d8928f5d14
commit
f3ed286091
@ -151,7 +151,7 @@ entity_category:
|
||||
type: string
|
||||
default: None
|
||||
expire_after:
|
||||
description: Defines the number of seconds after the sensor's state expires, if it's not updated. After expiry, the sensor's state becomes `unavailable`.
|
||||
description: If set, it defines the number of seconds after the sensor's state expires, if it's not updated. After expiry, the sensor's state becomes `unavailable`. Default the sensors state never expires.
|
||||
required: false
|
||||
type: integer
|
||||
force_update:
|
||||
|
@ -143,7 +143,7 @@ entity_category:
|
||||
type: string
|
||||
default: None
|
||||
expire_after:
|
||||
description: Defines the number of seconds after the sensor's state expires, if it's not updated. After expiry, the sensor's state becomes `unavailable`.
|
||||
description: If set, it defines the number of seconds after the sensor's state expires, if it's not updated. After expiry, the sensor's state becomes `unavailable`. Default the sensors state never expires.
|
||||
required: false
|
||||
type: integer
|
||||
default: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user