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
pull/31168/head
Jens Østergaard Nielsen 2020-01-26 00:37:31 +01:00 committed by Martin Hjelmare
parent e4832ee4d0
commit 353a014496
3 changed files with 9 additions and 3 deletions

View File

@ -191,7 +191,10 @@ SET_RUNTIME_VALUE_BOOL_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(

View File

@ -2,7 +2,10 @@
"domain": "ihc",
"name": "IHC Controller",
"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": [],
"codeowners": []
}

View File

@ -718,7 +718,7 @@ ibmiotf==0.3.4
iglo==1.2.7
# homeassistant.components.ihc
ihcsdk==2.4.0
ihcsdk==2.5.0
# homeassistant.components.incomfort
incomfort-client==0.4.0