From fd52542b5c0cda63e60b63f3aad279b3e131882e Mon Sep 17 00:00:00 2001 From: Denis Shulyaka Date: Mon, 2 Nov 2020 13:03:20 +0300 Subject: [PATCH 1/4] Add Analog Switch support --- source/_integrations/analog_switch.markdown | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 source/_integrations/analog_switch.markdown diff --git a/source/_integrations/analog_switch.markdown b/source/_integrations/analog_switch.markdown new file mode 100644 index 000000000000..b583fb65c805 --- /dev/null +++ b/source/_integrations/analog_switch.markdown @@ -0,0 +1,22 @@ +--- +title: Analog Switch +description: Instructions on how to set up your analog switches with Home Assistant. +ha_category: + - Analog Switch +ha_release: 0.118 +ha_quality_scale: internal +ha_domain: analog_switch +ha_iot_class: ~ +--- + +Keeps track on analog switches in your environment, their state and allows you to control them. This integration allows other integrations to get a value input from user within a range. + +### Services + +The Analog Switch entities registers the following services: + +| Service | Data | Description | +| ------- | ---- | ----------- | +| `decrement` | `entity_id(s)`
`area_id(s)` | Decrement the value of specific `analog_switch` entities by an integration-specific `step` +| `increment` | `entity_id(s)`
`area_id(s)` | Increment the value of specific `analog_switch` entities by an integration-specific `step` +| `set_value` | `value`
`entity_id(s)`
`area_id(s)` | Set the value of specific `analog_switch` entities From f3833c68e21fceaa3d4f6a4f8c0d14742307b3fd Mon Sep 17 00:00:00 2001 From: Denis Shulyaka Date: Mon, 2 Nov 2020 18:23:01 +0300 Subject: [PATCH 2/4] Rename analog_switch to number and remove increment/decrement services --- source/_integrations/analog_switch.markdown | 22 --------------------- source/_integrations/number.markdown | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 source/_integrations/analog_switch.markdown create mode 100644 source/_integrations/number.markdown diff --git a/source/_integrations/analog_switch.markdown b/source/_integrations/analog_switch.markdown deleted file mode 100644 index b583fb65c805..000000000000 --- a/source/_integrations/analog_switch.markdown +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: Analog Switch -description: Instructions on how to set up your analog switches with Home Assistant. -ha_category: - - Analog Switch -ha_release: 0.118 -ha_quality_scale: internal -ha_domain: analog_switch -ha_iot_class: ~ ---- - -Keeps track on analog switches in your environment, their state and allows you to control them. This integration allows other integrations to get a value input from user within a range. - -### Services - -The Analog Switch entities registers the following services: - -| Service | Data | Description | -| ------- | ---- | ----------- | -| `decrement` | `entity_id(s)`
`area_id(s)` | Decrement the value of specific `analog_switch` entities by an integration-specific `step` -| `increment` | `entity_id(s)`
`area_id(s)` | Increment the value of specific `analog_switch` entities by an integration-specific `step` -| `set_value` | `value`
`entity_id(s)`
`area_id(s)` | Set the value of specific `analog_switch` entities diff --git a/source/_integrations/number.markdown b/source/_integrations/number.markdown new file mode 100644 index 000000000000..0c424a1b7797 --- /dev/null +++ b/source/_integrations/number.markdown @@ -0,0 +1,20 @@ +--- +title: Number +description: Instructions on how to manage your Number entities with Home Assistant. +ha_category: + - Number +ha_release: 0.118 +ha_quality_scale: internal +ha_domain: number +ha_iot_class: ~ +--- + +Keeps track on `number` entities in your environment, their state, and allows you to control them. This integration allows other integrations to get a value input from user within a range. + +### Services + +The Analog Switch entities registers the following services: + +| Service | Data | Description | +| ------- | ---- | ----------- | +| `set_value` | `value`
`entity_id(s)`
`area_id(s)` | Set the value of specific `number` entities From 24eef43399c04674befa3b5b27726dfc814b6f24 Mon Sep 17 00:00:00 2001 From: Denis Shulyaka Date: Mon, 2 Nov 2020 18:27:03 +0300 Subject: [PATCH 3/4] more rename --- source/_integrations/number.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/number.markdown b/source/_integrations/number.markdown index 0c424a1b7797..40e4ab558439 100644 --- a/source/_integrations/number.markdown +++ b/source/_integrations/number.markdown @@ -13,7 +13,7 @@ Keeps track on `number` entities in your environment, their state, and allows yo ### Services -The Analog Switch entities registers the following services: +The Number entities registers the following services: | Service | Data | Description | | ------- | ---- | ----------- | From bc5bc33fac4b7fa4a60c1329c1c4db8404329efa Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 2 Dec 2020 14:16:11 +0100 Subject: [PATCH 4/4] :pencil2: Tweak --- source/_integrations/number.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/number.markdown b/source/_integrations/number.markdown index 40e4ab558439..e340d19e9113 100644 --- a/source/_integrations/number.markdown +++ b/source/_integrations/number.markdown @@ -3,7 +3,7 @@ title: Number description: Instructions on how to manage your Number entities with Home Assistant. ha_category: - Number -ha_release: 0.118 +ha_release: 0.119 ha_quality_scale: internal ha_domain: number ha_iot_class: ~