mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Fix the ihc.set_runtime_value_int service function not working with templates (#31145)
* Make the set_runtime_value_int function work with template values * Use newest version of the ihcsdk library * Make the set_runtime_value_int function work with template values * Use newest version of the ihcsdk library * Updated to the newest ihcsdk 2.5.0 * Formatted changes to make it pass CI tests
This commit is contained in:
parent
e4832ee4d0
commit
353a014496
@ -191,7 +191,10 @@ SET_RUNTIME_VALUE_BOOL_SCHEMA = vol.Schema(
|
|||||||
)
|
)
|
||||||
|
|
||||||
SET_RUNTIME_VALUE_INT_SCHEMA = vol.Schema(
|
SET_RUNTIME_VALUE_INT_SCHEMA = vol.Schema(
|
||||||
{vol.Required(ATTR_IHC_ID): cv.positive_int, vol.Required(ATTR_VALUE): int}
|
{
|
||||||
|
vol.Required(ATTR_IHC_ID): cv.positive_int,
|
||||||
|
vol.Required(ATTR_VALUE): vol.Coerce(int),
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
SET_RUNTIME_VALUE_FLOAT_SCHEMA = vol.Schema(
|
SET_RUNTIME_VALUE_FLOAT_SCHEMA = vol.Schema(
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
"domain": "ihc",
|
"domain": "ihc",
|
||||||
"name": "IHC Controller",
|
"name": "IHC Controller",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/ihc",
|
"documentation": "https://www.home-assistant.io/integrations/ihc",
|
||||||
"requirements": ["defusedxml==0.6.0", "ihcsdk==2.4.0"],
|
"requirements": [
|
||||||
|
"defusedxml==0.6.0",
|
||||||
|
"ihcsdk==2.5.0"
|
||||||
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": []
|
"codeowners": []
|
||||||
}
|
}
|
||||||
|
@ -718,7 +718,7 @@ ibmiotf==0.3.4
|
|||||||
iglo==1.2.7
|
iglo==1.2.7
|
||||||
|
|
||||||
# homeassistant.components.ihc
|
# homeassistant.components.ihc
|
||||||
ihcsdk==2.4.0
|
ihcsdk==2.5.0
|
||||||
|
|
||||||
# homeassistant.components.incomfort
|
# homeassistant.components.incomfort
|
||||||
incomfort-client==0.4.0
|
incomfort-client==0.4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user