Update humidity option type to float (#32056)

* Update humidity option type to float for mqtt

* Update humidity option type to float for generic hygrostat
This commit is contained in:
Jan Bouwhuis 2024-03-27 16:49:36 +01:00 committed by GitHub
parent 1913940fa1
commit be01c03066
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -188,7 +188,7 @@ json_attributes_topic:
max_humidity:
description: The minimum target humidity percentage that can be set.
required: false
type: integer
type: float
default: 99
max_temp:
description: Maximum set point available. The default value depends on the temperature unit, and will be 35°C or 95°F.
@ -197,7 +197,7 @@ max_temp:
min_humidity:
description: The maximum target humidity percentage that can be set.
required: false
type: integer
type: float
default: 30
min_temp:
description: Minimum set point available. The default value depends on the temperature unit, and will be 7°C or 44.6°F.

View File

@ -46,16 +46,16 @@ min_humidity:
description: Set minimum set point available.
required: false
default: 0
type: integer
type: float
max_humidity:
description: Set maximum set point available.
required: false
default: 100
type: integer
type: float
target_humidity:
description: Set initial target humidity. This value will be used as a fallback when the previous setpoint is not available.
required: false
type: integer
type: float
device_class:
description: Whether the switch specified in the *humidifier* option to be treated as a humidifier or a dehumidifier device. Must be either "humidifier" or "dehumidifier"
required: false

View File

@ -174,12 +174,12 @@ json_attributes_topic:
max_humidity:
description: The minimum target humidity percentage that can be set.
required: false
type: integer
type: float
default: 100
min_humidity:
description: The maximum target humidity percentage that can be set.
required: false
type: integer
type: float
default: 0
name:
description: The name of the humidifier. Can be set to `null` if only the device name is relevant.