Explain default behavior of expire_after option for MQTT sensors (#24237)

This commit is contained in:
Jan Bouwhuis 2022-09-26 18:49:54 +02:00 committed by GitHub
parent d8928f5d14
commit f3ed286091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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