Skip to content

Commit

Permalink
Auto update files on 14-12-2023/01:11
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Dec 14, 2023
1 parent 8fc0ff2 commit d9c4b89
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 19 deletions.
4 changes: 4 additions & 0 deletions config/automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,10 @@
data:
duration: 1
message: ' '
target:
device_id:
- 4f43e0dc2e03b71c2e137f9696a04a2c
- 06f0c6e9f7b45a2445a607fef53f54df
mode: restart
- id: '1696329856970'
alias: Quit Youtube
Expand Down
21 changes: 18 additions & 3 deletions config/dashboards/shared/popup/footer/footer_network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ browser_mod:
name: WAN Status
# - entity: sensor.external_ip
# - entity: binary_sensor.template_unifi_upgradable
# - entity: binary_sensor.wifi_access_point
# name: Status
- entity: sensor.template_ap_adopted
# - entity: sensor.template_ap_disconected
- type: custom:multiple-entity-row
entity: sensor.template_ap_clients
icon: mdi:devices
Expand All @@ -97,6 +94,24 @@ browser_mod:
- entity: sensor.template_wired_clients
name: Wired
unit: ' '
- type: custom:multiple-entity-row
entity: binary_sensor.unifi_controller_alert
name: 'Alert'
state_color: true
show_state: false
secondary_info:
attribute: Message
entities:
- entity: binary_sensor.unifi_controller_alert
name: 'State'
- icon: mdi:archive-minus
tap_action:
action: call-service
confirmation:
text: Are you sure you want to archive?
service: input_button.press
service_data:
entity_id: input_button.unifi_archive_alerts

footer:
type: custom:mini-graph-card
Expand Down
26 changes: 13 additions & 13 deletions config/dashboards/views/main-grid/footer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@
]]]
template:
- footer
- type: custom:button-card
name: >
<ha-icon icon="mdi:chart-box"></ha-icon> Overview
tap_action: !include ../../shared/popup/footer/footer_overview.yaml
# variables:
# notify: >
# [[[
# let id = states['binary_sensor.galaxy_tab_a_plugged_in'];
# if (id) return id.state === 'off';
# ]]]
template:
- footer
# - type: custom:button-card
# name: >
# <ha-icon icon="mdi:chart-box"></ha-icon> Overview
# tap_action: !include ../../shared/popup/footer/footer_overview.yaml
# # variables:
# # notify: >
# # [[[
# # let id = states['binary_sensor.galaxy_tab_a_plugged_in'];
# # if (id) return id.state === 'off';
# # ]]]
# template:
# - footer

- type: custom:button-card
name: >
<ha-icon icon="mdi:router-wireless"></ha-icon> Network
tap_action: !include ../../shared/popup/footer/footer_network.yaml
triggers_update:
- binary_sensor.template_unifi_alerts
- binary_sensor.unifi_controller_alert
- update.unifi_status_update
variables:
notify: >
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Hey there! Welcome to my little corner of the tech world! 👨‍💻

This is where I store all the cool configurations for my Home Assistant system. Well, it's a mix of awesome codes and setups I discovered from the Home Assistant community. Seriously, those folks are wizards! 🧙‍♂️ As a bit of an internet newbie turned tech enthusiast, I stumbled upon the magic of IT, and this repository is my way of sharing the joy and knowledge I've gained along the way. Dive in, explore, and let the tech magic begin! ✨

I frequently refresh my configuration files. My current Home Assistant version is <b>2023.12.1</b>. If you find something you like, don't forget to give my repository a ⭐️!
I frequently refresh my configuration files. My current Home Assistant version is <b>2023.12.2</b>. If you find something you like, don't forget to give my repository a ⭐️!

<video width="100%" controls loop muted>
<source src="https://github-production-user-asset-6210df.s3.amazonaws.com/96962827/285987130-48cc5542-0ca7-480b-9c95-77aa9464eb10.mp4" type="video/mp4">
Expand All @@ -36,8 +36,8 @@ I frequently refresh my configuration files. My current Home Assistant version i
</thead>
<tbody>
<tr>
<td>29,892 </td>
<td>28</td>
<td>29,904 </td>
<td>29</td>
<td>148</td>
<td>33</td>
<td>52</td>
Expand Down

0 comments on commit d9c4b89

Please sign in to comment.