mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix integer only LCN variable values (#85035)
This commit is contained in:
parent
d89c259d7e
commit
45fbbbaea1
@ -3,7 +3,7 @@
|
||||
"name": "LCN",
|
||||
"config_flow": false,
|
||||
"documentation": "https://www.home-assistant.io/integrations/lcn",
|
||||
"requirements": ["pypck==0.7.15"],
|
||||
"requirements": ["pypck==0.7.16"],
|
||||
"codeowners": ["@alengwenus"],
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["pypck"]
|
||||
|
@ -194,7 +194,7 @@ class VarAbs(LcnServiceCall):
|
||||
vol.Required(CONF_VARIABLE): vol.All(
|
||||
vol.Upper, vol.In(VARIABLES + SETPOINTS)
|
||||
),
|
||||
vol.Optional(CONF_VALUE, default=0): cv.positive_int,
|
||||
vol.Optional(CONF_VALUE, default=0): vol.Coerce(float),
|
||||
vol.Optional(CONF_UNIT_OF_MEASUREMENT, default="native"): vol.All(
|
||||
vol.Upper, vol.In(VAR_UNITS)
|
||||
),
|
||||
@ -234,7 +234,7 @@ class VarRel(LcnServiceCall):
|
||||
vol.Required(CONF_VARIABLE): vol.All(
|
||||
vol.Upper, vol.In(VARIABLES + SETPOINTS + THRESHOLDS)
|
||||
),
|
||||
vol.Optional(CONF_VALUE, default=0): int,
|
||||
vol.Optional(CONF_VALUE, default=0): vol.Coerce(float),
|
||||
vol.Optional(CONF_UNIT_OF_MEASUREMENT, default="native"): vol.All(
|
||||
vol.Upper, vol.In(VAR_UNITS)
|
||||
),
|
||||
|
@ -1832,7 +1832,7 @@ pyownet==0.10.0.post1
|
||||
pypca==0.0.7
|
||||
|
||||
# homeassistant.components.lcn
|
||||
pypck==0.7.15
|
||||
pypck==0.7.16
|
||||
|
||||
# homeassistant.components.pjlink
|
||||
pypjlink2==1.2.1
|
||||
|
@ -1306,7 +1306,7 @@ pyowm==3.2.0
|
||||
pyownet==0.10.0.post1
|
||||
|
||||
# homeassistant.components.lcn
|
||||
pypck==0.7.15
|
||||
pypck==0.7.16
|
||||
|
||||
# homeassistant.components.plaato
|
||||
pyplaato==0.0.18
|
||||
|
Loading…
x
Reference in New Issue
Block a user