Skip to content

Commit

Permalink
update hass 2023.12.1, custom components
Browse files Browse the repository at this point in the history
- Update Home Assistant to 2023.12.1
- Update custom components
- Add scan interval automation
- Update weather forecast sensor
- Move Canon ping to UI
- Use stock thermostat card
- Add Button card
  • Loading branch information
zanix committed Dec 9, 2023
1 parent c7106e3 commit 1eb58fc
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .HA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.11.3
2023.12.1
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ If you want to back up your own Home Assistant configuration to GitHub, follow [

Description | Value
-------------- | --
All Entities | 2130
Sensors | 849
Binary Sensors | 198
Lights | 59
All Entities | 2185
Sensors | 873
Binary Sensors | 200
Lights | 60
Switches | 106

<details><summary>Stock Integrations</summary>
Expand Down Expand Up @@ -263,7 +263,7 @@ The Z-Wave integration allows you to control a Z-Wave network via the [Z-Wave JS

<details><summary>17 Custom Integrations</summary>

### [Adaptive Lighting](https://github.com/basnijholt/adaptive-lighting) [v1.19.1]
### [Adaptive Lighting](https://github.com/basnijholt/adaptive-lighting) [v1.20.0]

Adaptive Lighting custom component for Home Assistant

Expand Down Expand Up @@ -367,7 +367,7 @@ Authors: [@AlexxIT](https://github.com/AlexxIT).

</details>

<details><summary>29 Lovelace Plugins</summary>
<details><summary>30 Lovelace Plugins</summary>

### [Apexcharts Card](https://github.com/RomRider/apexcharts-card) [v2.0.4]

Expand All @@ -385,6 +385,10 @@ Customizable Animated Bar card for Home Assistant Lovelace

Battery state card for Home Assistant

### [Button Card](https://github.com/custom-cards/button-card) [v4.1.1]

❇️ Lovelace button-card for home assistant

### [Card Mod](https://github.com/thomasloven/lovelace-card-mod) [v3.2.4]

🔹 Add CSS styles to (almost) any lovelace card
Expand All @@ -409,7 +413,7 @@ Expander card for HomeAssistant

A Lovelace card for Frigate in Home Assistant

### [Ha Floorplan](https://github.com/ExperienceLovelace/ha-floorplan) [v1.0.39]
### [Ha Floorplan](https://github.com/ExperienceLovelace/ha-floorplan) [v1.0.40]

Bring new life to Home Assistant. By mapping entities to a SVG-object, you're able to control devices, show states, calling services - and much more. Add custom styling on top, to visualize whatever you can think of. Your imagination just become the new limit.

Expand All @@ -425,7 +429,7 @@ Sun Card successor: Visualize the position of the Sun over the horizon.

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.

### [Kiosk Mode](https://github.com/NemesisRE/kiosk-mode) [v4.5.0]
### [Kiosk Mode](https://github.com/NemesisRE/kiosk-mode) [v4.6.0]

🙈 Hides the Home Assistant header and/or sidebar

Expand All @@ -437,7 +441,7 @@ Hourly weather card for Home Assistant. Visualize upcoming weather conditions as

Minimalistic graph card for Home Assistant Lovelace UI

### [Mini Media Player](https://github.com/kalkih/mini-media-player) [v1.16.5]
### [Mini Media Player](https://github.com/kalkih/mini-media-player) [v1.16.6]

Minimalistic media card for Home Assistant Lovelace UI

Expand All @@ -457,7 +461,7 @@ A power distribution card inspired by the official Energy Distribution card for

💡 A Lovelace custom card for RGB lights

### [Sankey Chart Card](https://github.com/MindFreeze/ha-sankey-chart) [v1.18.0]
### [Sankey Chart Card](https://github.com/MindFreeze/ha-sankey-chart) [v1.19.0]

A Home Assistant lovelace card to display a sankey chart. For example for power consumption

Expand Down Expand Up @@ -576,7 +580,7 @@ Minimalistic uptime card for Home Assistant Lovelace UI

> For more details, see the [automations.xml][automations] file and `automation:` blocks in [integrations].
<details><summary>138 Automations</summary>
<details><summary>139 Automations</summary>

- ⏯ Ensure PiPup is Running
- ⏯ Family Room Media Auto Off
Expand All @@ -603,6 +607,7 @@ Minimalistic uptime card for Home Assistant Lovelace UI
- ⚙️ Event Sniffer [Z-Wave JS] (Disabled)
- ⚙️ Failed Login
- ⚙️ RAM Usage High
- ⚙️ Scan Interval (Disabled)
- ⚙️ Startup
- ⚙️ Update Database Filesize Sensor
- ⚙️ Updates Available
Expand All @@ -619,7 +624,7 @@ Minimalistic uptime card for Home Assistant Lovelace UI
- 🌐 UniFi WAN Status
- 🍽️ Dishwasher is Running
- 🎄 XMas Lights On/Off (Disabled)
- 🎄 XMas Tree On/Off (Disabled)
- 🎄 XMas Tree On/Off
- 🏢 Office Day Mode
- 🏢 Office Night Mode
- 💡 All Lights off when Away
Expand Down Expand Up @@ -744,7 +749,7 @@ Readme generated by the [custom readme integration](https://github.com/custom-co
[home-assistant]: https://home-assistant.io

[ha-version]: https://www.home-assistant.io/blog/categories/release-notes/
[ha-version-shield]: https://img.shields.io/badge/2023.11.3-555555?style=flat-square&logo=home-assistant
[ha-version-shield]: https://img.shields.io/badge/2023.12.1-555555?style=flat-square&logo=home-assistant

[github-build-status-shield]: https://img.shields.io/github/actions/workflow/status/zanix/home-assistant-config/home-assistant.yaml?branch=master&style=flat-square&logo=github-actions&logoColor=838B95
[github-build-status]: https://github.com/zanix/home-assistant-config/actions/workflows/home-assistant.yaml
Expand Down
21 changes: 21 additions & 0 deletions automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4367,3 +4367,24 @@
target:
entity_id: fan.master_bedroom_ceiling
mode: single
- id: '1702017706466'
alias: ⚙️ Scan Interval
description: Devices with custom scan intervals
trigger:
- platform: time_pattern
minutes: '*'
action:
- variables:
entities:
binary_sensor.canon_mf743c_online: 1
total_mins: '{{ (now().timestamp() / 60) | int }}'
- repeat:
for_each: '{{ entities | dictsort }}'
sequence:
- if:
- condition: template
value_template: '{{ total_mins % repeat.item[1] == 0 }}'
then:
- service: homeassistant.update_entity
target:
entity_id: '{{ repeat.item[0] }}'
16 changes: 8 additions & 8 deletions entities/template/sensor/weather/forecast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ trigger:
- platform: event
event_type: event_template_reloaded
action:
- service: weather.get_forecast
- service: weather.get_forecasts
target:
entity_id: weather.owm_daily
data:
type: daily
response_variable: forecast
response_variable: response
sensor:
- name: Forecast
availability: "{{ has_value('weather.owm_daily') }}"
Expand All @@ -37,19 +37,19 @@ sensor:
{% if has_value('weather.owm_daily') %}
{% set hour = now().hour | int %}
{% if hour < 15 %}
{% set condition = forecast.forecast[0]['condition'] %}
{% set condition = response["weather.owm_daily"].forecast[0]['condition'] %}
{% if condition in conditions %}
{% set condition = conditions[condition] %}
{% endif %}
Today's forecast is {{ condition }}, with a high of {{ forecast.forecast[0]['temperature'] | round }} degrees.
Today's forecast is {{ condition }}, with a high of {{ response["weather.owm_daily"].forecast[0]['temperature'] | round }} degrees.
{% else %}
{% set condition = forecast.forecast[1]['condition'] %}
{% set condition = response["weather.owm_daily"].forecast[1]['condition'] %}
{% if condition in conditions %}
{% set condition = conditions[condition] %}
{% endif %}
{% set high = forecast.forecast[1]['temperature'] | round %}
{% set low = forecast.forecast[1]['templow'] | round %}
{% set chance = forecast.forecast[1]['precipitation_probability'] %}
{% set high = response["weather.owm_daily"].forecast[1]['temperature'] | round %}
{% set low = response["weather.owm_daily"].forecast[1]['templow'] | round %}
{% set chance = response["weather.owm_daily"].forecast[1]['precipitation_probability'] %}
Tomorrow's forecast is {{ condition }}, {% if chance > 0 -%}a {{ chance }} percent chance of precipitation,{% endif %} with a high of {{ high }} degrees, and a low of {{ low }} degrees.
{% endif %}
{% endif %}
7 changes: 0 additions & 7 deletions packages/canon.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
---
binary_sensor:
- platform: ping
host: !secret canon_host
name: Canon MF743C Online
count: 1
scan_interval: 60

sensor:
- platform: snmp
name: 'Canon MF743C Black Toner'
Expand Down
46 changes: 22 additions & 24 deletions ui-lovelace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6821,25 +6821,29 @@ views:
- card_mod:
style: "ha-card {\n overflow: visible !important;\n}\n"
cards:
- card_mod:
style: "mushroom-shape-icon {\n {% if is_state(config.entity, 'heat_cool')\
\ %}\n --card-mod-icon: mdi:autorenew;\n {% elif is_state(config.entity,\
\ 'heat') %}\n --card-mod-icon: mdi:fire;\n {% elif is_state(config.entity,\
\ 'cool') %}\n --card-mod-icon: mdi:snowflake;\n {% elif is_state(config.entity,\
\ 'fan_only') %}\n --card-mod-icon: mdi:fan;\n {% else %}\n --card-mod-icon:\
\ mdi:air-conditioner;\n {% endif %}\n display: flex;\n}\n"
entity: climate.ecobee
hvac_modes:
- heat_cool
- heat
- cool
- entity: climate.ecobee
features:
- hvac_modes:
- 'off'
- heat
- cool
- heat_cool
type: climate-hvac-modes
- preset_modes:
- Home
- Away
- Sleep
- BuildUp
style: dropdown
type: climate-preset-modes
name: ' '
type: thermostat
- entity: select.ecobee_preset
icon_color: cyan
layout: horizontal
primary_info: state
secondary_info: last-updated
show_temperature_control: true
tap_action:
action: more-info
type: custom:mushroom-climate-card
primary_info: none
secondary_info: none
type: custom:mushroom-select-card
- cards:
- entity: sensor.ecobee_current_temperature
icon_color: green
Expand All @@ -6854,12 +6858,6 @@ views:
secondary_info: name
type: custom:mushroom-entity-card
type: horizontal-stack
- entity: select.ecobee_preset
icon_color: cyan
layout: horizontal
name: Profile
secondary_info: none
type: custom:mushroom-select-card
- cardName: historycard-ecobee-mode
graphs:
- entities:
Expand Down

0 comments on commit 1eb58fc

Please sign in to comment.