Added Home Assistant Cards
This commit is contained in:
BIN
home_assistant/card.png
Normal file
BIN
home_assistant/card.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
11
home_assistant/card.yaml
Normal file
11
home_assistant/card.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
type: entities
|
||||||
|
entities:
|
||||||
|
- entity: climate.fil_pilote
|
||||||
|
type: custom:climate-mode-entity-row
|
||||||
|
modes:
|
||||||
|
- hvac_mode: heat
|
||||||
|
- hvac_mode: heat_cool
|
||||||
|
icon: mdi:leaf
|
||||||
|
- hvac_mode: cool
|
||||||
|
- hvac_mode: 'off'
|
||||||
|
|
||||||
21
home_assistant/mqtt/fil-pilot.yaml
Normal file
21
home_assistant/mqtt/fil-pilot.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
##
|
||||||
|
## Fil Pilot using MQTT
|
||||||
|
##
|
||||||
|
- name: "Fil Pilote"
|
||||||
|
unique_id: fil_pilot
|
||||||
|
payload_on: 1
|
||||||
|
payload_off: 0
|
||||||
|
modes:
|
||||||
|
- heat
|
||||||
|
- heat_cool
|
||||||
|
- cool
|
||||||
|
- 'off'
|
||||||
|
mode_state_topic: "filpilot/Status"
|
||||||
|
mode_state_template: >-
|
||||||
|
{% set values = { 'Off':'off', 'Hors-Gel':'cool', 'Eco':'heat_cool', 'Confort':'heat'} %}
|
||||||
|
{{ values[value] if value in values.keys() else 'off' }}
|
||||||
|
mode_command_topic: "filpilot/set"
|
||||||
|
mode_command_template: >-
|
||||||
|
{% set values = { 'off':'Off', 'cool':'Hors-Gel', 'heat_cool':'Eco', 'heat':'Confort'} %}
|
||||||
|
{{ values[value] if value in values.keys() else 'Off' }}
|
||||||
|
availability_topic: "filpilot/availability"
|
||||||
Reference in New Issue
Block a user