Grammar and spelling fixes (#16065)

This commit is contained in:
Ville Skyttä authored and Fabian Affolter committed 2018-08-19 22:29:08 +02:00
1 parent 9e1fa7ef42
commit dbd0763f83
244 files changed
+453 -453

No files matched your search

+2 -2
View File
@@ -123,7 +123,7 @@ def setup(hass, config):
def autosetup_ihc_products(hass: HomeAssistantType, config, ihc_controller):
"""Auto setup of IHC products from the ihc project file."""
"""Auto setup of IHC products from the IHC project file."""
project_xml = ihc_controller.get_project()
if not project_xml:
_LOGGER.error("Unable to read project from ICH controller")
@@ -177,7 +177,7 @@ def get_discovery_info(component_setup, groups):
def setup_service_functions(hass: HomeAssistantType, ihc_controller):
"""Setup the IHC service functions."""
"""Set up the IHC service functions."""
def set_runtime_value_bool(call):
"""Set a IHC runtime bool value service function."""
ihc_id = call.data[ATTR_IHC_ID]
+7 -7
View File
@@ -1,26 +1,26 @@
# Describes the format for available ihc services
# Describes the format for available IHC services
set_runtime_value_bool:
description: Set a boolean runtime value on the ihc controller
description: Set a boolean runtime value on the IHC controller
fields:
ihc_id:
description: The integer ihc resource id
description: The integer IHC resource id
value:
description: The boolean value to set
set_runtime_value_int:
description: Set an integer runtime value on the ihc controller
description: Set an integer runtime value on the IHC controller
fields:
ihc_id:
description: The integer ihc resource id
description: The integer IHC resource id
value:
description: The integer value to set
set_runtime_value_float:
description: Set a float runtime value on the ihc controller
description: Set a float runtime value on the IHC controller
fields:
ihc_id:
description: The integer ihc resource id
description: The integer IHC resource id
value:
description: The float value to set