Hey guys,
Since i moved to a new config split, my covers wont work anymore. I had this working before. I’m using Frencks config layout. https://github.com/frenck/home-assistant-config/tree/master/config/components/packages
The rfxtrx gives the error states below, the template covers just wont show up as an entity anymore.
System Hass.io:
arch | x86_64 |
---|---|
dev | false |
docker | true |
hassio | true |
os_name | Linux |
python_version | 3.7.2 |
timezone | Europe/Amsterdam |
version | 0.88.2 |
virtualenv | false |
/config/components/packages/cover.yaml:
cover: !include_dir_merge_named ../covers
/config/components/covers/rfxtrx.yaml:
platform: rfxtrx
automatic_add: false
signal_repetitions: 2
devices:
071a000001020401:
name: blinds
071a000001020301:
name: sun screen
/config/components/covers/curtain_back.yaml:
platform: template
covers:
curtain_downstairs_back:
friendly_name: "Curtain Back"
open_cover:
- service: mqtt.publish
data:
topic: "back/cmnd/backlog"
payload: "dimmer 1; delay 150; dimmer 0"
qos: 2
close_cover:
- service: mqtt.publish
data:
topic: "back/cmnd/backlog"
payload: "dimmer 10; delay 140; dimmer 0"
qos: 2
icon_template: >-
{% if is_state('binary_sensor.back_curtain', 'closed') %}
mdi:square
{% else %}
mdi:crop-square
{% endif %}
/config/components/covers/curtain_back.yaml:
platform: template
covers:
curtain_downstairs_front:
friendly_name: "Curtain Front"
open_cover:
service: mqtt.publish
data:
topic: "front/cmnd/backlog"
payload: "dimmer 10; delay 160; dimmer 0"
qos: 2
close_cover:
service: mqtt.publish
data:
topic: "front/cmnd/backlog"
payload: "dimmer 1; delay 120; dimmer 0"
qos: 2
icon_template: >-
{% if is_state('binary_sensor.front_curtain', 'closed') %}
mdi:square
{% else %}
mdi:crop-square
{% endif %}
Logs:
Your configuration contains extra keys that the platform does not support.
Please remove [automatic_add], [signal_repetitions], [devices].
But without those, the cover wont work.
Please advise