Skip to content

Commit

Permalink
Add some new automations to ha
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Jun 10, 2024
1 parent 7cdcae7 commit 188888b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/servers/apps/home-assistant/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ home_assistant:
- entity_id: switch.sonoff_4chpror3_garaz_4chpror3_switch_garaz_brama
- entity_id: switch.sonoff_4chpror3_dwor_4chpror3_switch_dwor_brama
- entity_id: switch.sonoff_4chpror3_dwor_4chpror3_switch_dwor_furtka
inching_seconds: 15
inching_seconds: 30
- entity_id: switch.sonoff_4chpror3_garaz_4chpror3_swiatlo_garaz_wew
- entity_id: switch.sonoff_4chpror3_garaz_4chpror3_swiatlo_garaz_zew
- entity_id: switch.sonoff_4chpror3_garaz_4chpror3_swiatlo_garaz_brama_dwor_btn
Expand Down
1 change: 1 addition & 0 deletions roles/servers/apps/home-assistant/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
backup: true
with_fileglob:
- ../templates/config/automations/*
- "{{ playbook_dir }}/../../ansible-ops-private/templates/home-assistant/config/automations/*"

- name: Configure config/mqtt/sensors
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
target:
entity_id: switch.sonoff_4chpror3_dwor_4chpror3_switch_dwor_brama
mode: single

# - alias: Alert Brama
# description: ''
# trigger:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,20 @@ views:
- entity: switch.sonoff_minir2_drzwi_dwor_minir2_swiatlo_drzwi_dwor
name: Drzwi Dwor
icon: mdi:coach-lamp
- type: section
- entity: automation.auto_furtka_dzwonek
type: custom:multiple-entity-row
name: Furtka_Auto
icon: mdi:door
toggle: true
show_state: true
entities:
- entity: automation.auto_furtka_dzwonek_off
name: AutoOff
toggle: true
- entity: automation.auto_furtka_dzwonek_on
name: AutoOn
toggle: true
title: Garaz
show_header_toggle: false
- type: entities
Expand Down

0 comments on commit 188888b

Please sign in to comment.