mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 01:46:50 +00:00
Add cover to Dynalite integration (#12275)
* Update dynalite.markdown
* added docs for the cover platform
* Update source/_integrations/dynalite.markdown
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* Update source/_integrations/dynalite.markdown
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* Update source/_integrations/dynalite.markdown
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* Update source/_integrations/dynalite.markdown
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* Update source/_integrations/dynalite.markdown
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* ✏️ Add ha_domain
* updated to fit changes in the code PR review process
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
parent
43f0dc099b
commit
e3645d8627
@ -5,6 +5,7 @@ ha_category:
|
||||
- Hub
|
||||
- Light
|
||||
- Switch
|
||||
- Cover
|
||||
ha_iot_class: Local Push
|
||||
ha_release: 0.106
|
||||
ha_codeowners:
|
||||
@ -13,12 +14,13 @@ ha_config_flow: true
|
||||
ha_domain: dynalite
|
||||
---
|
||||
|
||||
Philips Dynalite support is integrated into Home Assistant as a hub that can drive the light and switch platforms.
|
||||
Philips Dynalite support is integrated into Home Assistant as a hub that can drive the light, switch, and cover platforms.
|
||||
|
||||
There is currently support for the following device types within Home Assistant:
|
||||
|
||||
- Lights
|
||||
- Switches
|
||||
- Covers
|
||||
|
||||
A Philips Dynalite hub connects to the Dynet network, which is composed of areas, channels, and preset.
|
||||
|
||||
@ -92,6 +94,16 @@ area:
|
||||
description: Name of the area.
|
||||
required: true
|
||||
type: string
|
||||
template:
|
||||
description: "Type of template to use for the area. Supported values are: `room` and `time_cover`. They are described in detail below in the **template** section. If the template parameters are different than defaults, they can be overridden in this section as well."
|
||||
require: false
|
||||
type: string
|
||||
default: No template
|
||||
TEMPLATE_PARAMS:
|
||||
description: "This can be any of the settings of the template. For example, for template `room`: `room_on` and `room_off` are possible options."
|
||||
required: false
|
||||
type: [integer, float]
|
||||
default: Value from **template** section or system defaults
|
||||
fade:
|
||||
description: Fade time for the area, in seconds.
|
||||
required: false
|
||||
@ -138,7 +150,7 @@ area:
|
||||
type: string
|
||||
default: AREA_NAME Channel CHANNEL_NUMBER
|
||||
type:
|
||||
description: "Type of entity this should appear as. Can be either `light` or if this is a device that is not a light (e.g., water heater), can be `switch`."
|
||||
description: "Type of entity this channel should appear as. Can be either `light` or if this is a device that is not a light (e.g., water heater), can be `switch`."
|
||||
require: false
|
||||
type: string
|
||||
default: light
|
||||
@ -167,6 +179,66 @@ preset:
|
||||
required: false
|
||||
type: float
|
||||
default: 2.0
|
||||
template:
|
||||
description: Set the default parameters for the templates.
|
||||
required: false
|
||||
type: map
|
||||
keys:
|
||||
room:
|
||||
description: This is used to define a room that has a preset to turn on all the channels in the area and a preset to turn off.
|
||||
required: false
|
||||
type: map
|
||||
keys:
|
||||
room_on:
|
||||
description: Preset to turn area on.
|
||||
required: false
|
||||
type: integer
|
||||
default: 1
|
||||
room_off:
|
||||
description: Preset to turn area off.
|
||||
required: false
|
||||
type: integer
|
||||
default: 4
|
||||
time_cover:
|
||||
description: "This is used to define a cover that has 3 presets: `open`, `close`, and `stop`. Potentially can also use a channel that some systems (e.g., Control4) use to also send commands to open and close the cover. It uses the duration it takes to open or close to determine position. In addition, many times, these covers include tilt by opening or closing for a short time, so this can be defined as well."
|
||||
required: false
|
||||
type: map
|
||||
keys:
|
||||
open:
|
||||
description: Preset to open the cover.
|
||||
required: false
|
||||
type: integer
|
||||
default: 1
|
||||
close:
|
||||
description: Preset to close the cover.
|
||||
required: false
|
||||
type: integer
|
||||
default: 2
|
||||
stop:
|
||||
description: Preset to stop the cover.
|
||||
required: false
|
||||
type: integer
|
||||
default: 4
|
||||
channel_cover:
|
||||
description: Channel that monitors the cover.
|
||||
required: false
|
||||
type: integer
|
||||
default: No channel
|
||||
duration:
|
||||
description: Time in seconds it takes to open or close the cover.
|
||||
required: false
|
||||
type: integer
|
||||
default: 60
|
||||
tilt:
|
||||
description: "Time in seconds it takes to open or close the cover tilt. `0` means that the cover does not support tilt."
|
||||
require: false
|
||||
type: integer
|
||||
default: 0
|
||||
class:
|
||||
description: "Type of cover for Home Assistant. Any of the possible [cover classes](/integrations/cover/#device-class) (e.g. `blind`, `garage`, `shutter`) are possible."
|
||||
require: false
|
||||
type: string
|
||||
default: shutter
|
||||
{% endconfiguration %}
|
||||
|
||||
## Examples
|
||||
@ -182,9 +254,13 @@ dynalite:
|
||||
area:
|
||||
'1':
|
||||
name: Office
|
||||
template: room
|
||||
'2':
|
||||
name: Living Room
|
||||
template: room
|
||||
nodefault: true
|
||||
room_on: 2
|
||||
room_off: 5
|
||||
channel:
|
||||
'2':
|
||||
name: Entrance Spot
|
||||
@ -197,11 +273,18 @@ dynalite:
|
||||
'6':
|
||||
name: All Off
|
||||
fade: 3.0
|
||||
'4':
|
||||
name: Curtain
|
||||
template: time_cover
|
||||
preset:
|
||||
'1':
|
||||
name: 'On'
|
||||
'4':
|
||||
name: 'Off'
|
||||
template:
|
||||
room:
|
||||
room_on: 1
|
||||
room_off: 4
|
||||
```
|
||||
|
||||
## Initial configuration and discovery
|
||||
|
Loading…
x
Reference in New Issue
Block a user