├── alexa-tts-card ├── images │ └── ALEXA.png ├── עברית │ ├── images │ │ └── ALEXA.png │ ├── alexa-tts-card.yaml │ └── README.md ├── alexa-tts-card.yaml └── README.md ├── smart-shopping-list ├── images │ ├── shopping.png │ └── shopping2.png ├── עברית │ ├── images │ │ ├── shopping.png │ │ └── shopping2.png │ ├── smart-shopping-list.yaml │ └── README.md ├── smart-shopping-list.yaml └── README.md ├── boiler_slider_timer ├── images │ ├── boiler_control.png │ └── boiler_control_heb.png ├── עברית │ ├── images │ │ ├── boiler_control.png │ │ └── boiler_control_heb.png │ ├── boiler_slider_timer.yaml │ └── README.md ├── boiler_slider_timer.yaml └── README.md ├── power-consumption-alert ├── images │ ├── Energy-alert.jpeg │ └── Energy-alert-heb.jpeg ├── עברית │ ├── images │ │ ├── Energy-alert.jpeg │ │ └── Energy-alert-heb.jpeg │ ├── power-consumption-alert.yaml │ └── README.md ├── power-consumption-alert.yaml └── README.md ├── boiler-temperature-card ├── images │ ├── boiler-temp-heb.png │ └── boiler-temp-english.png ├── עברית │ ├── images │ │ ├── boiler-temp-heb.png │ │ └── boiler-temp-english.png │ ├── boiler-temperature-card.yaml │ └── README.md ├── boiler-temperature-card.yaml └── README.md ├── LICENSE └── README.md /alexa-tts-card/images/ALEXA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/alexa-tts-card/images/ALEXA.png -------------------------------------------------------------------------------- /alexa-tts-card/עברית/images/ALEXA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/alexa-tts-card/עברית/images/ALEXA.png -------------------------------------------------------------------------------- /smart-shopping-list/images/shopping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/smart-shopping-list/images/shopping.png -------------------------------------------------------------------------------- /smart-shopping-list/images/shopping2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/smart-shopping-list/images/shopping2.png -------------------------------------------------------------------------------- /boiler_slider_timer/images/boiler_control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler_slider_timer/images/boiler_control.png -------------------------------------------------------------------------------- /smart-shopping-list/עברית/images/shopping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/smart-shopping-list/עברית/images/shopping.png -------------------------------------------------------------------------------- /smart-shopping-list/עברית/images/shopping2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/smart-shopping-list/עברית/images/shopping2.png -------------------------------------------------------------------------------- /boiler_slider_timer/images/boiler_control_heb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler_slider_timer/images/boiler_control_heb.png -------------------------------------------------------------------------------- /power-consumption-alert/images/Energy-alert.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/power-consumption-alert/images/Energy-alert.jpeg -------------------------------------------------------------------------------- /boiler-temperature-card/images/boiler-temp-heb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler-temperature-card/images/boiler-temp-heb.png -------------------------------------------------------------------------------- /boiler_slider_timer/עברית/images/boiler_control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler_slider_timer/עברית/images/boiler_control.png -------------------------------------------------------------------------------- /boiler-temperature-card/images/boiler-temp-english.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler-temperature-card/images/boiler-temp-english.png -------------------------------------------------------------------------------- /power-consumption-alert/images/Energy-alert-heb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/power-consumption-alert/images/Energy-alert-heb.jpeg -------------------------------------------------------------------------------- /power-consumption-alert/עברית/images/Energy-alert.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/power-consumption-alert/עברית/images/Energy-alert.jpeg -------------------------------------------------------------------------------- /boiler-temperature-card/עברית/images/boiler-temp-heb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler-temperature-card/עברית/images/boiler-temp-heb.png -------------------------------------------------------------------------------- /boiler_slider_timer/עברית/images/boiler_control_heb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler_slider_timer/עברית/images/boiler_control_heb.png -------------------------------------------------------------------------------- /power-consumption-alert/עברית/images/Energy-alert-heb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/power-consumption-alert/עברית/images/Energy-alert-heb.jpeg -------------------------------------------------------------------------------- /boiler-temperature-card/עברית/images/boiler-temp-english.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noy1122/home-assistant-guides/HEAD/boiler-temperature-card/עברית/images/boiler-temp-english.png -------------------------------------------------------------------------------- /alexa-tts-card/alexa-tts-card.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # 🔊 כרטיס מדיה חכם לאלקסה עם תמיכה ב-TTS ב-Home Assistant 3 | # 🚀 תיאור: שילוב Alexa עם Home Assistant כולל כרטיס Lovelace עם תמיכה ב-TTS 4 | ################################################################# 5 | 6 | type: custom:mini-media-player 7 | entity: media_player.noy_s_2nd_echo_dot_2 8 | artwork: full-cover 9 | icon: mdi:amazon 10 | tts: 11 | platform: alexa 12 | entity_id: media_player.noy_s_2nd_echo_dot_2 13 | -------------------------------------------------------------------------------- /alexa-tts-card/עברית/alexa-tts-card.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # 🔊 כרטיס מדיה חכם לאלקסה עם תמיכה ב-TTS ב-Home Assistant 3 | # 🚀 תיאור: שילוב Alexa עם Home Assistant כולל כרטיס Lovelace עם תמיכה ב-TTS 4 | ################################################################# 5 | 6 | type: custom:mini-media-player 7 | entity: media_player.noy_s_2nd_echo_dot_2 8 | artwork: full-cover 9 | icon: mdi:amazon 10 | tts: 11 | platform: alexa 12 | entity_id: media_player.noy_s_2nd_echo_dot_2 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 Noy Jakubovits 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /boiler-temperature-card/boiler-temperature-card.yaml: -------------------------------------------------------------------------------- 1 | type: custom:button-card 2 | entity: sensor.boiler_temperature_2 3 | name: " " 4 | show_state: true 5 | show_label: true 6 | icon: > 7 | [[[ if (entity.state < 25) return 'mdi:snowflake'; return 'mdi:thermometer-water'; ]]] 8 | styles: 9 | card: 10 | - width: 377px 11 | - height: 100px 12 | - background: | 13 | [[[ 14 | if (entity.state > 35) return "linear-gradient(to top, #ff5a5a, #b30000)"; 15 | if (entity.state >= 30) return "linear-gradient(to top, #ffaa5a, #ff751a)"; 16 | if (entity.state < 25) return "linear-gradient(to top, #add8e6, #87ceeb)"; 17 | return "linear-gradient(to top, #5aaaff, #0059b3)"; 18 | ]]] 19 | - border-radius: 10px 20 | - box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.6) 21 | - color: white 22 | - font-size: 18px 23 | - padding: 15px 24 | - text-align: center 25 | icon: 26 | - color: white 27 | - size: 30px 28 | label: 29 | - font-size: 14px 30 | - font-weight: bold 31 | - color: rgba(255, 255, 255, 0.85) 32 | label: | 33 | [[[ 34 | if (entity.state < 25) return 'אין מספיק מים חמים למקלחת'; 35 | if (entity.state <= 28) return 'מקלחת אחת זמינה'; 36 | if (entity.state <= 31) return 'שתי מקלחות זמינות'; 37 | if (entity.state <= 34) return 'שלוש מקלחות זמינות'; 38 | return 'ארבע מקלחות או יותר זמינות'; 39 | ]]] 40 | -------------------------------------------------------------------------------- /boiler-temperature-card/עברית/boiler-temperature-card.yaml: -------------------------------------------------------------------------------- 1 | type: custom:button-card 2 | entity: sensor.boiler_temperature_2 3 | name: " " 4 | show_state: true 5 | show_label: true 6 | icon: > 7 | [[[ if (entity.state < 25) return 'mdi:snowflake'; return 'mdi:thermometer-water'; ]]] 8 | styles: 9 | card: 10 | - width: 377px 11 | - height: 100px 12 | - background: | 13 | [[[ 14 | if (entity.state > 35) return "linear-gradient(to top, #ff5a5a, #b30000)"; 15 | if (entity.state >= 30) return "linear-gradient(to top, #ffaa5a, #ff751a)"; 16 | if (entity.state < 25) return "linear-gradient(to top, #add8e6, #87ceeb)"; 17 | return "linear-gradient(to top, #5aaaff, #0059b3)"; 18 | ]]] 19 | - border-radius: 10px 20 | - box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.6) 21 | - color: white 22 | - font-size: 18px 23 | - padding: 15px 24 | - text-align: center 25 | icon: 26 | - color: white 27 | - size: 30px 28 | label: 29 | - font-size: 14px 30 | - font-weight: bold 31 | - color: rgba(255, 255, 255, 0.85) 32 | label: | 33 | [[[ 34 | if (entity.state < 25) return 'אין מספיק מים חמים למקלחת'; 35 | if (entity.state <= 28) return 'מקלחת אחת זמינה'; 36 | if (entity.state <= 31) return 'שתי מקלחות זמינות'; 37 | if (entity.state <= 34) return 'שלוש מקלחות זמינות'; 38 | return 'ארבע מקלחות או יותר זמינות'; 39 | ]]] 40 | -------------------------------------------------------------------------------- /power-consumption-alert/power-consumption-alert.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # ⚡ התראה על צריכת חשמל גבוהה ב-Home Assistant 3 | # 🚀 תיאור: התראה עם 5 המכשירים הצורכים הכי הרבה חשמל כאשר 4 | # הצריכה הכוללת חורגת מסף מסוים 5 | ################################################################# 6 | 7 | # ✅ 1. יצירת חיישן לצריכת חשמל כוללת 8 | template: 9 | - sensor: 10 | - name: "צריכת חשמל נוכחית" 11 | unit_of_measurement: 'W' 12 | state_class: measurement 13 | device_class: power 14 | state: > 15 | {{ ( 16 | states('sensor.boiler_power')|float(0) + 17 | states('sensor.ac_power')|float(0) + 18 | states('sensor.fridge_power')|float(0) + 19 | states('sensor.oven_power')|float(0) + 20 | states('sensor.washing_machine_power')|float(0) 21 | ) | round(0) }} 22 | 23 | # ✅ 2. אוטומציה לשליחת התראה עם 5 הצרכנים הגדולים 24 | automation: 25 | - alias: "התראה על צריכת חשמל גבוהה" 26 | description: "שליחת הודעה עם 5 הצרכנים הגדולים כאשר הצריכה חורגת מסף" 27 | trigger: 28 | - platform: numeric_state 29 | entity_id: sensor.צריכת_חשמל_נוכחית 30 | above: 8000 31 | action: 32 | - service: notify.mobile_app_noy_iphone16_pro 33 | data: 34 | title: "⚠️ התראה על צריכת חשמל גבוהה" 35 | message: >- 36 | {% set entities = [ 37 | 'sensor.boiler_power', 38 | 'sensor.ac_power', 39 | 'sensor.fridge_power', 40 | 'sensor.oven_power', 41 | 'sensor.washing_machine_power' 42 | ] %} 43 | 44 | {% set raw_data = namespace(items=[]) %} 45 | {% for entity_id in entities %} 46 | {% set state = states(entity_id) | float(default=-1) %} 47 | {% if state >= 0 %} 48 | {% set raw_data.items = raw_data.items + [{ 49 | 'id': entity_id, 50 | 'name': state_attr(entity_id, 'friendly_name') | default(entity_id), 51 | 'value': state 52 | }] %} 53 | {% endif %} 54 | {% endfor %} 55 | 56 | {% set sorted_data = raw_data.items | sort(attribute='value', reverse=true) %} 57 | 58 | {% if sorted_data | count > 0 %} 59 | 🏆 **5 הצרכנים המובילים:** 60 | {% for item in sorted_data[:5] %} 61 | 🔸 {{ item.name | replace("_", " ") | replace("צריכת חשמל", "") | trim }}: {{ item.value | round(1) }}W 62 | {% endfor %} 63 | {% else %} 64 | ❌ **לא נמצאו נתוני צריכה** 65 | {% endif %} 66 | -------------------------------------------------------------------------------- /power-consumption-alert/עברית/power-consumption-alert.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # ⚡ התראה על צריכת חשמל גבוהה ב-Home Assistant 3 | # 🚀 תיאור: התראה עם 5 המכשירים הצורכים הכי הרבה חשמל כאשר 4 | # הצריכה הכוללת חורגת מסף מסוים 5 | ################################################################# 6 | 7 | # ✅ 1. יצירת חיישן לצריכת חשמל כוללת 8 | template: 9 | - sensor: 10 | - name: "צריכת חשמל נוכחית" 11 | unit_of_measurement: 'W' 12 | state_class: measurement 13 | device_class: power 14 | state: > 15 | {{ ( 16 | states('sensor.boiler_power')|float(0) + 17 | states('sensor.ac_power')|float(0) + 18 | states('sensor.fridge_power')|float(0) + 19 | states('sensor.oven_power')|float(0) + 20 | states('sensor.washing_machine_power')|float(0) 21 | ) | round(0) }} 22 | 23 | # ✅ 2. אוטומציה לשליחת התראה עם 5 הצרכנים הגדולים 24 | automation: 25 | - alias: "התראה על צריכת חשמל גבוהה" 26 | description: "שליחת הודעה עם 5 הצרכנים הגדולים כאשר הצריכה חורגת מסף" 27 | trigger: 28 | - platform: numeric_state 29 | entity_id: sensor.צריכת_חשמל_נוכחית 30 | above: 8000 31 | action: 32 | - service: notify.mobile_app_noy_iphone16_pro 33 | data: 34 | title: "⚠️ התראה על צריכת חשמל גבוהה" 35 | message: >- 36 | {% set entities = [ 37 | 'sensor.boiler_power', 38 | 'sensor.ac_power', 39 | 'sensor.fridge_power', 40 | 'sensor.oven_power', 41 | 'sensor.washing_machine_power' 42 | ] %} 43 | 44 | {% set raw_data = namespace(items=[]) %} 45 | {% for entity_id in entities %} 46 | {% set state = states(entity_id) | float(default=-1) %} 47 | {% if state >= 0 %} 48 | {% set raw_data.items = raw_data.items + [{ 49 | 'id': entity_id, 50 | 'name': state_attr(entity_id, 'friendly_name') | default(entity_id), 51 | 'value': state 52 | }] %} 53 | {% endif %} 54 | {% endfor %} 55 | 56 | {% set sorted_data = raw_data.items | sort(attribute='value', reverse=true) %} 57 | 58 | {% if sorted_data | count > 0 %} 59 | 🏆 **5 הצרכנים המובילים:** 60 | {% for item in sorted_data[:5] %} 61 | 🔸 {{ item.name | replace("_", " ") | replace("צריכת חשמל", "") | trim }}: {{ item.value | round(1) }}W 62 | {% endfor %} 63 | {% else %} 64 | ❌ **לא נמצאו נתוני צריכה** 65 | {% endif %} 66 | -------------------------------------------------------------------------------- /boiler_slider_timer/boiler_slider_timer.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # 🔥 Home Assistant - טיימר חכם לדוד עם סליידר 3 | # 🚀 תיאור: שליטה על הדוד עם טיימר מתקדם, כיבוי אוטומטי וסליידר 4 | ################################################################# 5 | 6 | # ✅ 1. טיימר לדוד 7 | timer: 8 | boiler_timer: 9 | duration: "00:30:00" 10 | name: "⏳ טיימר הדוד" 11 | icon: mdi:timer-outline 12 | 13 | # ✅ 2. סליידר לקביעת משך ההפעלה 14 | input_number: 15 | boiler_duration: 16 | name: "⏱️ משך הפעלת הדוד" 17 | min: 5 18 | max: 120 19 | step: 5 20 | unit_of_measurement: "דקות" 21 | mode: slider 22 | icon: mdi:clock-outline 23 | 24 | # ✅ 3. אוטומציות להפעלת הדוד וכיבוי אוטומטי 25 | automation: 26 | - alias: "🚀 הפעלת הדוד לפי סליידר" 27 | description: "כשהדוד נדלק, מפעיל טיימר עם משך מותאם אישית" 28 | trigger: 29 | - platform: state 30 | entity_id: switch.boiler 31 | to: "on" 32 | action: 33 | - service: timer.start 34 | entity_id: timer.boiler_timer 35 | data: 36 | duration: "{{ states('input_number.boiler_duration') | int }}:00" 37 | 38 | - alias: "🛑 כיבוי הדוד בסיום הטיימר" 39 | description: "כיבוי אוטומטי של הדוד כאשר הטיימר מסתיים" 40 | trigger: 41 | - platform: event 42 | event_type: timer.finished 43 | event_data: 44 | entity_id: timer.boiler_timer 45 | action: 46 | - service: switch.turn_off 47 | entity_id: switch.boiler 48 | 49 | - alias: "🔄 איפוס משך הטיימר אחרי כיבוי הדוד" 50 | description: "כאשר הדוד נכבה, מאפס את הסליידר לערך ברירת מחדל" 51 | trigger: 52 | - platform: state 53 | entity_id: switch.boiler 54 | to: "off" 55 | action: 56 | - service: input_number.set_value 57 | target: 58 | entity_id: input_number.boiler_duration 59 | data: 60 | value: 30 61 | - service: timer.finish 62 | target: 63 | entity_id: timer.boiler_timer 64 | 65 | # ✅ 4. כרטיס Lovelace להצגת הבקרה 66 | lovelace: 67 | views: 68 | - title: "שליטה על הדוד" 69 | icon: mdi:water-boiler 70 | path: boiler_control 71 | cards: 72 | - type: entities 73 | title: "💡 בקרת דוד" 74 | entities: 75 | - entity: switch.boiler 76 | name: "מצב הדוד" 77 | - entity: input_number.boiler_duration 78 | name: "⏳ משך הפעלה" 79 | - entity: timer.boiler_timer 80 | name: "⏱ זמן נותר" 81 | 82 | # ✅ 5. תמיכה ב-Slider-Entity-Row (אם התקנת דרך HACS) 83 | - type: entities 84 | title: "🔥 בקרת דוד מתקדמת" 85 | entities: 86 | - entity: switch.boiler 87 | name: "מצב הדוד" 88 | - type: custom:slider-entity-row 89 | entity: input_number.boiler_duration 90 | name: "קביעת זמן חימום" 91 | full_row: true 92 | - entity: timer.boiler_timer 93 | name: "⏳ זמן נותר" 94 | -------------------------------------------------------------------------------- /smart-shopping-list/smart-shopping-list.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # 🛒 רשימת קניות חכמה ב-Home Assistant 3 | # 🚀 תיאור: מאפשר הוספת מוצרים לרשימת הקניות בלחיצה אחת 4 | ################################################################# 5 | 6 | # ✅ 1. הפעלת רכיב רשימת קניות (Shopping List) 7 | shopping_list: 8 | 9 | # ✅ 2. כרטיס Lovelace להצגת רשימת הקניות עם כפתורי הוספה 10 | lovelace: 11 | views: 12 | - title: "רשימת קניות" 13 | icon: mdi:cart 14 | path: shopping 15 | cards: 16 | - type: vertical-stack 17 | cards: 18 | - type: grid 19 | title: "הוספת מוצרים בלחיצה" 20 | columns: 2 21 | square: false 22 | cards: 23 | - type: custom:button-card 24 | name: "חלב" 25 | entity_picture: /local/milk.png 26 | show_entity_picture: true 27 | show_name: true 28 | styles: 29 | name: 30 | - font-size: 14px 31 | - font-weight: bold 32 | - color: black 33 | tap_action: 34 | action: call-service 35 | service: shopping_list.add_item 36 | data: 37 | name: חלב 38 | 39 | - type: custom:button-card 40 | name: "לחם" 41 | entity_picture: /local/bread.png 42 | show_entity_picture: true 43 | show_name: true 44 | styles: 45 | name: 46 | - font-size: 14px 47 | - font-weight: bold 48 | - color: black 49 | tap_action: 50 | action: call-service 51 | service: shopping_list.add_item 52 | data: 53 | name: לחם 54 | 55 | - type: custom:button-card 56 | name: "ביצים" 57 | entity_picture: /local/eggs.png 58 | show_entity_picture: true 59 | show_name: true 60 | styles: 61 | name: 62 | - font-size: 14px 63 | - font-weight: bold 64 | - color: black 65 | tap_action: 66 | action: call-service 67 | service: shopping_list.add_item 68 | data: 69 | name: ביצים 70 | 71 | - type: shopping-list 72 | title: "רשימת הקניות שלי" 73 | 74 | 75 | # ✅ 3. שיפור הכרטיס 76 | type: vertical-stack 77 | cards: 78 | - type: grid 79 | title: "הוספת מוצרים בלחיצה" 80 | columns: 2 81 | square: false 82 | cards: 83 | - (הכפתורים שהוספת קודם) 84 | 85 | - type: shopping-list 86 | title: "רשימת הקניות" 87 | -------------------------------------------------------------------------------- /boiler_slider_timer/עברית/boiler_slider_timer.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # 🔥 Home Assistant - טיימר חכם לדוד עם סליידר 3 | # 🚀 תיאור: שליטה על הדוד עם טיימר מתקדם, כיבוי אוטומטי וסליידר 4 | ################################################################# 5 | 6 | # ✅ 1. טיימר לדוד 7 | timer: 8 | boiler_timer: 9 | duration: "00:30:00" 10 | name: "⏳ טיימר הדוד" 11 | icon: mdi:timer-outline 12 | 13 | # ✅ 2. סליידר לקביעת משך ההפעלה 14 | input_number: 15 | boiler_duration: 16 | name: "⏱️ משך הפעלת הדוד" 17 | min: 5 18 | max: 120 19 | step: 5 20 | unit_of_measurement: "דקות" 21 | mode: slider 22 | icon: mdi:clock-outline 23 | 24 | # ✅ 3. אוטומציות להפעלת הדוד וכיבוי אוטומטי 25 | automation: 26 | - alias: "🚀 הפעלת הדוד לפי סליידר" 27 | description: "כשהדוד נדלק, מפעיל טיימר עם משך מותאם אישית" 28 | trigger: 29 | - platform: state 30 | entity_id: switch.boiler 31 | to: "on" 32 | action: 33 | - service: timer.start 34 | entity_id: timer.boiler_timer 35 | data: 36 | duration: "{{ states('input_number.boiler_duration') | int }}:00" 37 | 38 | - alias: "🛑 כיבוי הדוד בסיום הטיימר" 39 | description: "כיבוי אוטומטי של הדוד כאשר הטיימר מסתיים" 40 | trigger: 41 | - platform: event 42 | event_type: timer.finished 43 | event_data: 44 | entity_id: timer.boiler_timer 45 | action: 46 | - service: switch.turn_off 47 | entity_id: switch.boiler 48 | 49 | - alias: "🔄 איפוס משך הטיימר אחרי כיבוי הדוד" 50 | description: "כאשר הדוד נכבה, מאפס את הסליידר לערך ברירת מחדל" 51 | trigger: 52 | - platform: state 53 | entity_id: switch.boiler 54 | to: "off" 55 | action: 56 | - service: input_number.set_value 57 | target: 58 | entity_id: input_number.boiler_duration 59 | data: 60 | value: 30 61 | - service: timer.finish 62 | target: 63 | entity_id: timer.boiler_timer 64 | 65 | # ✅ 4. כרטיס Lovelace להצגת הבקרה 66 | lovelace: 67 | views: 68 | - title: "שליטה על הדוד" 69 | icon: mdi:water-boiler 70 | path: boiler_control 71 | cards: 72 | - type: entities 73 | title: "💡 בקרת דוד" 74 | entities: 75 | - entity: switch.boiler 76 | name: "מצב הדוד" 77 | - entity: input_number.boiler_duration 78 | name: "⏳ משך הפעלה" 79 | - entity: timer.boiler_timer 80 | name: "⏱ זמן נותר" 81 | 82 | # ✅ 5. תמיכה ב-Slider-Entity-Row (אם התקנת דרך HACS) 83 | - type: entities 84 | title: "🔥 בקרת דוד מתקדמת" 85 | entities: 86 | - entity: switch.boiler 87 | name: "מצב הדוד" 88 | - type: custom:slider-entity-row 89 | entity: input_number.boiler_duration 90 | name: "קביעת זמן חימום" 91 | full_row: true 92 | - entity: timer.boiler_timer 93 | name: "⏳ זמן נותר" 94 | -------------------------------------------------------------------------------- /smart-shopping-list/עברית/smart-shopping-list.yaml: -------------------------------------------------------------------------------- 1 | ################################################################# 2 | # 🛒 רשימת קניות חכמה ב-Home Assistant 3 | # 🚀 תיאור: מאפשר הוספת מוצרים לרשימת הקניות בלחיצה אחת 4 | ################################################################# 5 | 6 | # ✅ 1. הפעלת רכיב רשימת קניות (Shopping List) 7 | shopping_list: 8 | 9 | # ✅ 2. כרטיס Lovelace להצגת רשימת הקניות עם כפתורי הוספה 10 | lovelace: 11 | views: 12 | - title: "רשימת קניות" 13 | icon: mdi:cart 14 | path: shopping 15 | cards: 16 | - type: vertical-stack 17 | cards: 18 | - type: grid 19 | title: "הוספת מוצרים בלחיצה" 20 | columns: 2 21 | square: false 22 | cards: 23 | - type: custom:button-card 24 | name: "חלב" 25 | entity_picture: /local/milk.png 26 | show_entity_picture: true 27 | show_name: true 28 | styles: 29 | name: 30 | - font-size: 14px 31 | - font-weight: bold 32 | - color: black 33 | tap_action: 34 | action: call-service 35 | service: shopping_list.add_item 36 | data: 37 | name: חלב 38 | 39 | - type: custom:button-card 40 | name: "לחם" 41 | entity_picture: /local/bread.png 42 | show_entity_picture: true 43 | show_name: true 44 | styles: 45 | name: 46 | - font-size: 14px 47 | - font-weight: bold 48 | - color: black 49 | tap_action: 50 | action: call-service 51 | service: shopping_list.add_item 52 | data: 53 | name: לחם 54 | 55 | - type: custom:button-card 56 | name: "ביצים" 57 | entity_picture: /local/eggs.png 58 | show_entity_picture: true 59 | show_name: true 60 | styles: 61 | name: 62 | - font-size: 14px 63 | - font-weight: bold 64 | - color: black 65 | tap_action: 66 | action: call-service 67 | service: shopping_list.add_item 68 | data: 69 | name: ביצים 70 | 71 | - type: shopping-list 72 | title: "רשימת הקניות שלי" 73 | 74 | 75 | # ✅ 3. שיפור הכרטיס 76 | type: vertical-stack 77 | cards: 78 | - type: grid 79 | title: "הוספת מוצרים בלחיצה" 80 | columns: 2 81 | square: false 82 | cards: 83 | - (הכפתורים שהוספת קודם) 84 | 85 | - type: shopping-list 86 | title: "רשימת הקניות" 87 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🏠 Home Assistant Guides 2 | 🚀 A collection of Home Assistant guides, automation setups, and YAML configurations. 3 | 4 | This repository contains step-by-step tutorials for enhancing your smart home experience using Home Assistant. 5 | 6 | --- 7 | 8 | ## 📌 Available Guides 9 | 10 | ### **1️⃣ Boiler Temperature Card** 11 | 📌 **Custom card for monitoring boiler temperature and shower availability.** 12 | 🔗 **[Read the guide](boiler-temperature-card/README.md)** 13 | - 🇮🇱 **מדריך בעברית:** [כרטיס טמפרטורת הדוד עם חיווי צבעוני וזמינות מקלחות](boiler-temperature-card/עברית/README.md) 14 | 15 | 16 | Boiler Temperature Card 17 | 18 | --- 19 | 20 | ### **2️⃣ Boiler Slider Timer** 21 | 📌 **Set a custom timer for boiler activation using a slider.** 22 | 🔗 **[Read the guide](boiler_slider_timer/README.md)** 23 | - 🇮🇱 **מדריך בעברית:** [טיימר הפעלת הדוד בהתאמה אישית עם סליידר](boiler_slider_timer/עברית/README.md) 24 | 25 | 26 | Boiler Slider Timer 27 | 28 | --- 29 | 30 | ### **3️⃣ Smart Shopping List** 31 | 📌 **Create a dynamic shopping list with custom product buttons and images.** 32 | 🔗 **[Read the guide](smart-shopping-list/README.md)** 33 | - 🇮🇱 **מדריך בעברית:** [רשימת קניות חכמה עם כפתורי מוצרים ותמונות מותאמות אישית](smart-shopping-list/עברית/README.md) 34 | 35 | 36 | Smart Shopping List 37 | 38 | --- 39 | 40 | ### **4️⃣ Power Consumption Alert** 41 | 📌 **Get alerts for high power consumption and top-consuming devices.** 42 | 🔗 **[Read the guide](power-consumption-alert/README.md)** 43 | - 🇮🇱 **מדריך בעברית:** [התראה על צריכת חשמל גבוהה והצגת 5 הצרכנים הגדולים](power-consumption-alert/עברית/README.md) 44 | 45 | 46 | Power Consumption Alert 47 | 48 | --- 49 | 50 | ### **5️⃣ Alexa TTS Card** 51 | 📌 **Send voice messages to your Alexa device using a Lovelace card.** 52 | 🔗 **[Read the guide](alexa-tts-card/README.md)** 53 | - 🇮🇱 **מדריך בעברית:** [כרטיס לשליחת הודעות קוליות לרמקול אלכסה](alexa-tts-card/עברית/README.md) 54 | 55 | 56 | Alexa TTS Card 57 | 58 | --- 59 | 60 | ## 🔹 How to Use These Guides 61 | Each guide is in its own folder and contains: 62 | - **README.md** → Full instructions with images. 63 | - **YAML files** → Ready-to-use Home Assistant configurations. 64 | - **Images** → Screenshots and examples. 65 | 66 | ## 📬 Contributions & Feedback 67 | Feel free to open an issue if you have questions or want to suggest new guides! 68 | 69 | --- 70 | 🔗 **Follow me for more Home Assistant content!** 71 | 72 | 📣 **Join our Facebook group:** **Home Assistant - קהילה ומדריכים** 73 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 74 | -------------------------------------------------------------------------------- /alexa-tts-card/עברית/README.md: -------------------------------------------------------------------------------- 1 | # 🔊 **כרטיס מדיה חכם לאלקסה עם תמיכה ב-TTS ב-Home Assistant** 2 | 3 | כיצד **להגדיר כרטיס Lovelace מותאם אישית** שמשלב **אלכסה עם טקסט לדיבור (TTS)**, כך שתוכל לשלוח הודעות ישירות לרמקול האקו שלך. 4 | 5 | ![Alexa Mini Media Player](images/ALEXA.png) 6 | 7 | --- 8 | 9 | ## 🛠️ **דרישות מקדימות** 10 | ✅ **רמקול Alexa משולב עם `alexa_media_player`** 11 | ✅ **התקנת `mini-media-player` דרך HACS** 12 | 13 | 14 | --- 15 | 16 | ## 🔹 **שלב 1: התקנת ההרחבה `alexa_media_player`** 17 | כדי לשלוט ברמקולי Alexa מתוך Home Assistant, יש להתקין את `alexa_media_player` דרך HACS. 18 | 19 | 📌 **כך תתקין את ההרחבה:** 20 | 1️⃣ פתח **HACS** → עבור ל- **Integrations** 21 | 2️⃣ חפש **Alexa Media Player** 22 | 3️⃣ לחץ על **Download & Install** 23 | 4️⃣ הפעל מחדש את Home Assistant 24 | 5️⃣ עבור ל- **הגדרות → אינטגרציות**, הוסף את חשבון Amazon שלך **והתחבר** 25 | 26 | --- 27 | 28 | ## 🔹 **שלב 2: התקנת `mini-media-player` עבור Lovelace** 29 | כדי להציג כרטיס מדיה חכם ב-Lovelace, יש להתקין את `mini-media-player` דרך HACS. 30 | 31 | 📌 **כך תתקין את הכרטיס:** 32 | 1️⃣ פתח **HACS** → עבור ל- **Frontend** 33 | 2️⃣ חפש **mini-media-player** 34 | 3️⃣ לחץ על **Download & Install** 35 | 4️⃣ הפעל מחדש את Home Assistant 36 | 37 | --- 38 | 39 | ## 🔹 **שלב 3: יצירת כרטיס Alexa Media Player ב-Lovelace** 40 | לאחר שההרחבות מותקנות, הוסף את ה-YAML הבא **ללוח הבקרה של Lovelace** כדי להציג את הכרטיס של Alexa. 41 | 42 | 📌 **הוסף את הקוד הבא ל-Lovelace שלך:** 43 | 44 | ```yaml 45 | type: custom:mini-media-player 46 | entity: media_player.noy_s_2nd_echo_dot_2 47 | artwork: full-cover 48 | icon: mdi:amazon 49 | tts: 50 | platform: alexa 51 | entity_id: media_player.noy_s_2nd_echo_dot_2 52 | ``` 53 | 54 | --- 55 | 56 | ## 🔹 **שלב 4: הבנת ההגדרות של הכרטיס** 57 | 58 | ### 📌 מה הכרטיס הזה מאפשר? 59 | ✅ **הצגת הסטטוס הנוכחי של Alexa כולל עטיפת אלבום אם מתנגנת מוזיקה** 60 | ✅ **כפתורי שליטה בעוצמת הקול והפעלה/עצירה** 61 | ✅ **אפשרות לשלוח טקסט לדיבור ישירות לרמקול** 62 | 63 | ### 📌 מה צריך לשנות? 64 | ➡️ עדכן את **`entity: media_player.noy_s_2nd_echo_dot_2`** כך שיתאים לשם של הרמקול שלך. 65 | ➡️ ניתן לשנות את **האייקון או הצגת העטיפה** לפי העדפה אישית. 66 | 67 | --- 68 | 69 | ## 🔹 **שלב 5: שליחת הודעת TTS לרמקול Alexa** 70 | באמצעות הכרטיס הזה, ניתן להקליד טקסט, ו-Alexa תקריא את ההודעה בקול. 71 | 72 | 📌 **כיצד להשתמש?** 73 | 1️⃣ פתח את לוח הבקרה של Lovelace 74 | 2️⃣ לחץ על שדה **הכנסת טקסט ב-TTS** 75 | 3️⃣ הקלד הודעה כלשהי (למשל: "Hello") 76 | 4️⃣ Alexa תשמיע את ההודעה בקול 77 | 78 | --- 79 | 80 | ## 🚀 **סיכום** 81 | ✅ **חיברנו את Alexa ל-Home Assistant באמצעות `alexa_media_player`** 82 | ✅ **התקנו את `mini-media-player` ליצירת ממשק מתקדם** 83 | ✅ **יצרנו כרטיס Lovelace עם תמיכה ב-TTS** 84 | ✅ **כעת ניתן לשלוח הודעות קוליות לרמקול ישירות מתוך Home Assistant!** 85 | 86 | --- 87 | 88 | ## 📬 **שאלות או עזרה?** 89 | אם נתקלת בבעיה או רוצה לשפר את ההגדרות, ניתן לפתוח **Issue** או לשלוח **Pull Request**! 🚀 90 | 91 | 🔗 **עקוב אחרי מדריכים נוספים ל-Home Assistant!** 92 | 📣 **הצטרפו לקבוצת הפייסבוק שלנו:** **Home Assistant - קהילה ומדריכים!** 93 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 94 | -------------------------------------------------------------------------------- /alexa-tts-card/README.md: -------------------------------------------------------------------------------- 1 | # 🔊 **Alexa Mini Media Player with TTS in Home Assistant** 2 | 3 | This guide will show you how to **set up a Lovelace card** that integrates Alexa **with text-to-speech (TTS)**, allowing you to send custom messages to your Echo device. 4 | 5 | ![Alexa Mini Media Player](images/ALEXA.png) 6 | 7 | --- 8 | 9 | ## 🛠️ **Requirements** 10 | ✅ **Alexa device integrated with `alexa_media_player`** 11 | ✅ **HACS installed with `mini-media-player`** 12 | 13 | --- 14 | 15 | ## 🔹 **Step 1: Installing Alexa Media Player Integration** 16 | To control Alexa devices in Home Assistant, you need to install `alexa_media_player` from HACS. 17 | 18 | 📌 **Follow these steps to install:** 19 | 1️⃣ Open **HACS** → **Integrations** 20 | 2️⃣ Search for **Alexa Media Player** 21 | 3️⃣ Click **Download & Install** 22 | 4️⃣ Restart Home Assistant 23 | 5️⃣ Go to **Settings → Integrations** and configure your **Amazon account login** 24 | 25 | --- 26 | 27 | ## 🔹 **Step 2: Installing `mini-media-player` for Lovelace** 28 | To display an advanced media player card, install `mini-media-player` via HACS. 29 | 30 | 📌 **Steps:** 31 | 1️⃣ Open **HACS** → **Frontend** 32 | 2️⃣ Search for **mini-media-player** 33 | 3️⃣ Click **Download & Install** 34 | 4️⃣ Restart Home Assistant 35 | 36 | --- 37 | 38 | ## 🔹 **Step 3: Creating the Alexa Media Player Card** 39 | Once the integrations are installed, add the following YAML to your **Lovelace dashboard** to create the Alexa media player card. 40 | 41 | 📌 **Add this to your Lovelace YAML configuration:** 42 | 43 | ```yaml 44 | type: custom:mini-media-player 45 | entity: media_player.noy_s_2nd_echo_dot_2 46 | artwork: full-cover 47 | icon: mdi:amazon 48 | tts: 49 | platform: alexa 50 | entity_id: media_player.noy_s_2nd_echo_dot_2 51 | ``` 52 | 53 | --- 54 | 55 | ## 🔹 **Step 4: Understanding the Configuration** 56 | 57 | ### 📌 Features of the Card 58 | ✅ **Displays Alexa's current status and artwork (if playing music)** 59 | ✅ **Shows volume controls and playback buttons** 60 | ✅ **Allows sending custom TTS messages** 61 | 62 | ### 📌 What should you change? 63 | ➡️ Update **`entity: media_player.noy_s_2nd_echo_dot_2`** to match your Alexa device entity. 64 | ➡️ Ensure that **`platform: alexa`** is properly set for TTS support. 65 | ➡️ Modify the **icon or artwork display** according to your preference. 66 | 67 | --- 68 | 69 | ## 🔹 **Step 5: Sending a TTS Message to Alexa** 70 | With this card, you can enter text, and Alexa will **speak the message aloud** on the selected device. 71 | 72 | 📌 **How to use?** 73 | 1️⃣ Open your Lovelace dashboard 74 | 2️⃣ Click the **TTS input field** in the media player card 75 | 3️⃣ Type any message (e.g., "Dinner is ready!") 76 | 4️⃣ Alexa will **speak the message aloud** on the device 77 | 78 | --- 79 | 80 | ## 🚀 **Summary** 81 | ✅ **Added Alexa to Home Assistant using `alexa_media_player`** 82 | ✅ **Installed `mini-media-player` for a better UI** 83 | ✅ **Created a Lovelace card with TTS support** 84 | ✅ **Now you can send spoken messages to Alexa from Home Assistant!** 85 | 86 | --- 87 | 88 | ## 📬 **Need Help?** 89 | If you have any issues, open an issue or submit a pull request! 🚀 90 | 91 | 🔗 **Follow for more Home Assistant projects!** 92 | 📣 **Join our Facebook group:** **Home Assistant - קהילה ומדריכים** 93 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 94 | -------------------------------------------------------------------------------- /power-consumption-alert/עברית/README.md: -------------------------------------------------------------------------------- 1 | # 🔥 **התראה על צריכת חשמל גבוהה ב-Home Assistant** 2 | 3 | כיצד להגדיר **אוטומציה שתשלח התראה** עם **5 המכשירים הצורכים הכי הרבה חשמל** כאשר הצריכה הכוללת חורגת מסף מסוים. 4 | 5 | ![התראה על צריכת חשמל](images/Energy-alert.jpeg) ![התראה על צריכת חשמל](images/Energy-alert-heb.jpeg) 6 | 7 | --- 8 | 9 | ## 🛠️ **דרישות מקדימות** 10 | ✅ **חיישנים שמודדים את צריכת החשמל של מכשירים שונים** (Shelly, Tasmota, Sonoff וכו') 11 | ✅ **Home Assistant עם שירות התראות מוגדר (אפליקציה, טלגרם וכו')** 12 | ✅ **חיישן שמרכז את צריכת החשמל הכוללת** (שלב 1) 13 | 14 | --- 15 | 16 | ## 🔹 **שלב 1: יצירת חיישן לצריכת חשמל כוללת** 17 | נגדיר **חיישן Template** שיאגד את נתוני צריכת החשמל של כל החיישנים הביתיים. 18 | 19 | 📌 **הוסף את הקוד הבא ל-`configuration.yaml` תחת `template`:** 20 | 21 | ```yaml 22 | template: 23 | - sensor: 24 | - name: "צריכת חשמל נוכחית" 25 | unit_of_measurement: 'W' 26 | state_class: measurement 27 | device_class: power 28 | state: > 29 | {{ ( 30 | states('sensor.boiler_power')|float(0) + 31 | states('sensor.ac_power')|float(0) + 32 | states('sensor.fridge_power')|float(0) + 33 | states('sensor.oven_power')|float(0) + 34 | states('sensor.washing_machine_power')|float(0) 35 | ) | round(0) }} 36 | ``` 37 | 38 | ### 📌 מה עושה החיישן הזה? 39 | ✅ **מאחד את הצריכה מכל חיישני החשמל הביתיים.** 40 | ✅ **מאפשר להגדיר התראות ואוטומציות על הצריכה הכוללת.** 41 | ✅ **ניתן להוסיף או להסיר מכשירים בהתאם לחיישנים שיש בבית.** 42 | 43 | ### 📌 מה יש לשנות? 44 | ➡️ עדכן את **שמות החיישנים** (`sensor.boiler_power`, `sensor.ac_power` וכו') בהתאם לחיישנים אצלך. 45 | ➡️ הוסף או הסר חיישנים לפי המכשירים שברצונך לכלול. 46 | 47 | --- 48 | 49 | ## 🔹 **שלב 2: יצירת אוטומציה לשליחת התראה עם 5 הצרכנים הגדולים** 50 | האוטומציה תפעל **כאשר הצריכה הכוללת חורגת מסף מסוים (למשל 8000W)**, תמצא **את 5 הצרכנים הגדולים** ותשלח התראה עם הפרטים שלהם. 51 | 52 | 📌 **הוסף את הקוד הבא ל-`automations.yaml`:** 53 | 54 | ```yaml 55 | alias: "התראה על צריכת חשמל גבוהה" 56 | trigger: 57 | - platform: numeric_state 58 | entity_id: sensor.total_power_consumption 59 | above: 8000 60 | action: 61 | - service: notify.mobile_app_noy_iphone16_pro 62 | data: 63 | title: "⚠️ התראה על צריכת חשמל גבוהה" 64 | message: >- 65 | {% set entities = [ 66 | 'sensor.boiler_power', 67 | 'sensor.ac_power', 68 | 'sensor.fridge_power', 69 | 'sensor.oven_power', 70 | 'sensor.washing_machine_power' 71 | ] %} 72 | 73 | {% set raw_data = namespace(items=[]) %} 74 | {% for entity_id in entities %} 75 | {% set state = states(entity_id) | float(default=-1) %} 76 | {% if state >= 0 %} 77 | {% set raw_data.items = raw_data.items + [{ 78 | 'id': entity_id, 79 | 'name': state_attr(entity_id, 'friendly_name') | default(entity_id), 80 | 'value': state 81 | }] %} 82 | {% endif %} 83 | {% endfor %} 84 | 85 | {% set sorted_data = raw_data.items | sort(attribute='value', reverse=true) %} 86 | 87 | {% if sorted_data | count > 0 %} 88 | 🏆 **5 הצרכנים המובילים:** 89 | {% for item in sorted_data[:5] %} 90 | 🔸 {{ item.name | replace("_", " ") | replace("צריכת חשמל", "") | trim }}: {{ item.value | round(1) }}W 91 | {% endfor %} 92 | {% else %} 93 | ❌ **לא נמצאו נתוני צריכה** 94 | {% endif %} 95 | ``` 96 | 97 | ### 📌 מה עושה האוטומציה? 98 | ✅ **ברגע שהצריכה הכוללת עולה על 8000W, האוטומציה מופעלת.** 99 | ✅ **בודקת את כל החיישנים שמודדים צריכת חשמל וממיינת אותם.** 100 | ✅ **שולחת התראה עם 5 הצרכנים הגדולים.** 101 | 102 | ### 📌 מה יש לשנות? 103 | ➡️ עדכן את **שמות החיישנים** (`sensor.boiler_power`, `sensor.ac_power` וכו') לפי החיישנים אצלך. 104 | ➡️ שנה את **סף הצריכה (`above: 8000`)** לערך שמתאים לבית שלך. 105 | ➡️ שנה את **שירות ההתראות (`notify.mobile_app_noy_iphone16_pro`)** כך שיתאים למכשיר שלך (טלפון, טלגרם וכו'). 106 | 107 | --- 108 | 109 | ## 🚀 **סיכום** 110 | ✅ **יצרנו חיישן מרכזי שמאגד את צריכת החשמל.** 111 | ✅ **הגדרנו אוטומציה שתזהה את 5 הצרכנים הגדולים ותשלח התראה.** 112 | ✅ **ניתן לשנות את החיישנים, סף ההתראה ואת צורת ההתראה לפי הצרכים שלך.** 113 | 114 | --- 115 | 📣 **הצטרפו לקבוצת הפייסבוק שלנו:** **Home Assistant - קהילה ומדריכים!** 116 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 117 | -------------------------------------------------------------------------------- /power-consumption-alert/README.md: -------------------------------------------------------------------------------- 1 | # 🔥 Power Consumption Alert for Home Assistant 2 | 3 | This guide will show you how to set up an **automation that sends a notification** with the **top 5 power-consuming devices** when total power consumption exceeds a certain threshold. 4 | 5 | Power Consumption Alert 6 | Power Consumption Alert Hebrew 7 | --- 8 | 9 | ## 🛠️ Requirements 10 | ✅ **Power monitoring sensors for individual devices** (Shelly, Tasmota, Sonoff, etc.) 11 | ✅ **Home Assistant with notification service configured (App, Telegram, etc.)** 12 | ✅ **A sensor that aggregates total power consumption** (Step 1) 13 | 14 | --- 15 | 16 | ## 💡 Step 1: Creating a Sensor for Total Power Consumption 17 | We will define a **template sensor** that sums up power consumption from all monitored devices. 18 | 19 | 📌 **Add the following code to `configuration.yaml` under `template`:** 20 | 21 | ```yaml 22 | template: 23 | - sensor: 24 | - name: "Total Power Consumption" 25 | unit_of_measurement: 'W' 26 | state_class: measurement 27 | device_class: power 28 | state: > 29 | {{ ( 30 | states('sensor.boiler_power')|float(0) + 31 | states('sensor.ac_power')|float(0) + 32 | states('sensor.fridge_power')|float(0) + 33 | states('sensor.oven_power')|float(0) + 34 | states('sensor.washing_machine_power')|float(0) 35 | ) | round(0) }} 36 | ``` 37 | 38 | ### 📌 What does this sensor do? 39 | ✅ **Sums up the power usage of all monitored devices.** 40 | ✅ **Allows setting up automations based on total power consumption.** 41 | ✅ **You can add or remove devices according to your setup.** 42 | 43 | ### 📌 What should you change? 44 | ➡️ Update the **sensor names** (`sensor.boiler_power`, `sensor.ac_power`, etc.) to match your actual power sensors. 45 | ➡️ Add or remove sensors based on the devices you want to track. 46 | 47 | --- 48 | 49 | ## 🔹 Step 2: Automation to Send a Notification with the Top 5 Consumers 50 | This automation will trigger **when total power consumption exceeds a certain threshold (e.g., 8000W)**. It will find **the top 5 consumers** and send a notification with their names and power usage. 51 | 52 | 📌 **Add the following code to `automations.yaml`:** 53 | 54 | ```yaml 55 | alias: "High Power Consumption Alert" 56 | trigger: 57 | - platform: numeric_state 58 | entity_id: sensor.total_power_consumption 59 | above: 8000 60 | action: 61 | - service: notify.mobile_app_noy_iphone16_pro 62 | data: 63 | title: "⚠️ High Power Consumption Alert" 64 | message: >- 65 | {% set entities = [ 66 | 'sensor.boiler_power', 67 | 'sensor.ac_power', 68 | 'sensor.fridge_power', 69 | 'sensor.oven_power', 70 | 'sensor.washing_machine_power' 71 | ] %} 72 | 73 | {% set raw_data = namespace(items=[]) %} 74 | {% for entity_id in entities %} 75 | {% set state = states(entity_id) | float(default=-1) %} 76 | {% if state >= 0 %} 77 | {% set raw_data.items = raw_data.items + [{ 78 | 'id': entity_id, 79 | 'name': state_attr(entity_id, 'friendly_name') | default(entity_id), 80 | 'value': state 81 | }] %} 82 | {% endif %} 83 | {% endfor %} 84 | 85 | {% set sorted_data = raw_data.items | sort(attribute='value', reverse=true) %} 86 | 87 | {% if sorted_data | count > 0 %} 88 | 🏆 **Top 5 Power Consumers:** 89 | {% for item in sorted_data[:5] %} 90 | 🔸 {{ item.name | replace("_", " ") | replace("Power Consumption", "") | trim }}: {{ item.value | round(1) }}W 91 | {% endfor %} 92 | {% else %} 93 | ❌ **No power consumption data found** 94 | {% endif %} 95 | ``` 96 | 97 | ### 📌 What does this automation do? 98 | ✅ **Triggers when total power consumption exceeds 8000W.** 99 | ✅ **Checks all monitored devices and sorts them by power usage.** 100 | ✅ **Sends a notification with the top 5 power-consuming devices.** 101 | 102 | ### 📌 What should you change? 103 | ➡️ Update **sensor names** (`sensor.boiler_power`, `sensor.ac_power`, etc.) to match your setup. 104 | ➡️ Adjust the **threshold (`above: 8000`)** to a level suitable for your home. 105 | ➡️ Change the **notification service (`notify.mobile_app_noy_iphone16_pro`)** to match your device. 106 | 107 | --- 108 | 109 | ## 🚀 Summary 110 | ✅ **Created a sensor to monitor total power consumption.** 111 | ✅ **Set up an automation that identifies the top 5 power-consuming devices.** 112 | ✅ **Configured a notification system for real-time alerts.** 113 | ✅ **Customizable based on your devices and alert preferences.** 114 | 115 | --- 116 | 📣 **Join our Facebook group:** **Home Assistant - קהילה ומדריכים** 117 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 118 | -------------------------------------------------------------------------------- /smart-shopping-list/README.md: -------------------------------------------------------------------------------- 1 | # 🛒 Smart Shopping List in Home Assistant 2 | 🚀 **Easily manage your shopping list with one-click product buttons in Lovelace!** 3 | 4 | This guide will walk you through creating a **smart shopping list** with **image-based product buttons**. 5 | Tapping a product **automatically adds it to the shopping list** in Home Assistant. 6 | 7 | | ![Smart Shopping List](images/shopping.png) | ![Smart Shopping List](images/shopping2.png) | 8 | |--------------------------------------------|--------------------------------------------| 9 | 10 | 11 | 12 | 13 | --- 14 | 15 | ## **🛠️ Requirements** 16 | ✅ **`shopping_list` integration enabled** 17 | ✅ **Lovelace YAML mode enabled** 18 | ✅ **`custom:button-card` installed via HACS** 19 | ✅ **Local images for products (`/local/` directory)** 20 | 21 | --- 22 | 23 | ## **🔹 Step 1: Enable Shopping List Integration** 24 | 📌 Ensure the **Shopping List** integration is enabled in `configuration.yaml`: 25 | 26 | ```yaml 27 | shopping_list: 28 | ``` 29 | 30 | 💡 **Restart Home Assistant after adding this!** 31 | 32 | --- 33 | 34 | ## **🔹 Step 2: Add Product Buttons** 35 | Now, let's create **image-based product buttons** that allow you to add items to the shopping list with a single tap. 36 | 37 | 📌 **Add this to your Lovelace YAML:** 38 | 39 | ```yaml 40 | type: grid 41 | title: "Shopping List" 42 | columns: 2 43 | square: false 44 | cards: 45 | - type: custom:button-card 46 | name: "Milk" 47 | entity_picture: /local/milk.png 48 | show_entity_picture: true 49 | show_name: true 50 | styles: 51 | name: 52 | - font-size: 14px 53 | - font-weight: bold 54 | - color: black 55 | tap_action: 56 | action: call-service 57 | service: shopping_list.add_item 58 | data: 59 | name: Milk 60 | 61 | - type: custom:button-card 62 | name: "Bread" 63 | entity_picture: /local/bread.png 64 | show_entity_picture: true 65 | show_name: true 66 | styles: 67 | name: 68 | - font-size: 14px 69 | - font-weight: bold 70 | - color: black 71 | tap_action: 72 | action: call-service 73 | service: shopping_list.add_item 74 | data: 75 | name: Bread 76 | 77 | - type: custom:button-card 78 | name: "Eggs" 79 | entity_picture: /local/eggs.png 80 | show_entity_picture: true 81 | show_name: true 82 | styles: 83 | name: 84 | - font-size: 14px 85 | - font-weight: bold 86 | - color: black 87 | tap_action: 88 | action: call-service 89 | service: shopping_list.add_item 90 | data: 91 | name: Eggs 92 | ``` 93 | 94 | 📌 **How it works?** 95 | ✅ **Each button displays a product image with a name below** 96 | ✅ **Tapping it automatically adds the item to the shopping list** 97 | ✅ **Images are stored locally in `/local/`** 98 | ✅ **Text is styled in bold black font for clarity** 99 | 100 | --- 101 | 102 | ## **🔹 Step 3: Display the Shopping List in Lovelace** 103 | To display the shopping list, add this card to Lovelace: 104 | 105 | ```yaml 106 | type: shopping-list 107 | title: "My Shopping List" 108 | ``` 109 | 110 | 📌 **Newly added items will automatically appear at the top!** 111 | 112 | --- 113 | 114 | ## **🔹 Step 4: Improve the UI Layout** 115 | To make the interface more user-friendly, we use a **vertical-stack** layout to place the buttons above the shopping list. 116 | 117 | ```yaml 118 | type: vertical-stack 119 | cards: 120 | - type: grid 121 | title: "Quick Add Items" 122 | columns: 2 123 | square: false 124 | cards: 125 | - (Insert product buttons here) 126 | 127 | - type: shopping-list 128 | title: "Shopping List" 129 | ``` 130 | 131 | 📌 **Why use this layout?** 132 | ✅ **The product buttons appear at the top** 133 | ✅ **The shopping list is displayed below** 134 | ✅ **You can quickly add and view items in one place** 135 | 136 | --- 137 | 138 | ## **🔹 Step 5: Upload Local Images** 139 | To ensure images are displayed correctly, upload them manually to `/local/`. 140 | 141 | 1️⃣ **Navigate to `/config/www/` in your Home Assistant directory** 142 | 2️⃣ **Upload product images (e.g., `milk.png`, `bread.png`, `eggs.png`)** 143 | 3️⃣ **Restart Home Assistant to refresh the images** 144 | 145 | 💡 **Now, your buttons will automatically show product images and names!** 146 | 147 | --- 148 | 149 | ## **🚀 Summary** 150 | ✅ **Tap a product to add it to your shopping list** 151 | ✅ **Uses local images for a clean UI** 152 | ✅ **New items appear at the top of the list** 153 | ✅ **Optimized layout with `grid` and `shopping-list`** 154 | 155 | 📬 **Have questions or suggestions? Let us know in the comments!** 156 | 157 | --- 158 | 📣 **Join our Facebook group:** **Home Assistant - קהילה ומדריכים** 159 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 160 | -------------------------------------------------------------------------------- /boiler-temperature-card/עברית/README.md: -------------------------------------------------------------------------------- 1 | # 🔥 **כרטיס טמפרטורת הדוד עם צבעים דינמיים וזמינות מקלחות ב-Home Assistant** 2 | 3 | **כיצד ליצור כרטיס Lovelace מותאם אישית** להצגת **טמפרטורת הדוד**, עם **צבעים משתנים**, **אייקון דינמי**, ו **אינדיקציה לכמות המקלחות הזמינות** בהתאם לטמפרטורה. 4 | 5 | ![Boiler Temperature Card](images/boiler-temp-english.png) ![Boiler Temperature Card](images/boiler-temp-heb.png) 6 | 7 | --- 8 | 9 | ## 🛠️ **דרישות מקדימות** 10 | ✅ **חיישן טמפרטורת הדוד** (לדוגמה: `sensor.boiler_temperature_2`) 11 | ✅ **HACS מותקן עם `custom:button-card`** 12 | 13 | --- 14 | 15 | ## 🔹 **שלב 1: יצירת כרטיס Lovelace מותאם אישית לדוד** 16 | 17 | כדי להציג את טמפרטורת הדוד בצורה ויזואלית עם **רקע צבעוני שמשתנה**, **אייקונים דינמיים**, ו **תוויות המציגות זמינות מקלחות**, יש להוסיף את הקוד הבא ל-Lovelace: 18 | 19 | 📌 **הוסף את הקוד הבא לקובץ YAML של Lovelace:** 20 | 21 | ```yaml 22 | type: custom:button-card 23 | entity: sensor.boiler_temperature_2 24 | name: " " 25 | show_state: true 26 | show_label: true 27 | icon: > 28 | [[[ if (entity.state < 25) return 'mdi:snowflake'; return 29 | 'mdi:thermometer-water'; ]]] 30 | styles: 31 | card: 32 | - width: 377px 33 | - height: 100px 34 | - background: | 35 | [[[ 36 | if (entity.state > 35) return "linear-gradient(to top, #ff5a5a, #b30000)"; 37 | if (entity.state >= 30) return "linear-gradient(to top, #ffaa5a, #ff751a)"; 38 | if (entity.state < 25) return "linear-gradient(to top, #add8e6, #87ceeb)"; 39 | return "linear-gradient(to top, #5aaaff, #0059b3)"; 40 | ]]] 41 | - border-radius: 10px 42 | - box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.6) 43 | - color: white 44 | - font-size: 18px 45 | - padding: 15px 46 | - text-align: center 47 | icon: 48 | - color: white 49 | - size: 30px 50 | label: 51 | - font-size: 14px 52 | - font-weight: bold 53 | - color: rgba(255, 255, 255, 0.85) 54 | label: | 55 | [[[ 56 | if (entity.state < 25) return 'אין מספיק מים למקלחת'; 57 | if (entity.state <= 28) return 'מקלחת אחת זמינה'; 58 | if (entity.state <= 31) return 'שתי מקלחות זמינות'; 59 | if (entity.state <= 34) return 'שלוש מקלחות זמינות'; 60 | return 'ארבע מקלחות ומעלה זמינות'; 61 | ]]] 62 | ``` 63 | 64 | --- 65 | 66 | ## 🔹 **שלב 2: הבנת הקונפיגורציה** 67 | 68 | ### 📌 **שינוי צבע הרקע דינמית לפי טמפרטורה** 69 | 70 | הרקע של הכרטיס משתנה באופן אוטומטי בהתאם לטמפרטורה: 71 | 72 | - **מתחת ל-25°C** → ❄️ **כחול בהיר** (אין מספיק מים חמים) 73 | - **בין 25°C - 29°C** → 🔵 **כחול** (כמות מים חמים מינימלית) 74 | - **בין 30°C - 34°C** → 🟠 **כתום** (מתאים למקלחת) 75 | - **מעל 35°C** → 🔴 **אדום** (מים חמים זמינים בשפע) 76 | 77 | 📌 **אם תרצה להתאים את סף הטמפרטורות, שנה את הקוד הבא:** 78 | 79 | ```yaml 80 | if (entity.state > 35) return "linear-gradient(to top, #ff5a5a, #b30000)"; # אדום (מים חמים זמינים) 81 | if (entity.state >= 30) return "linear-gradient(to top, #ffaa5a, #ff751a)"; # כתום (מים טובים למקלחת) 82 | if (entity.state < 25) return "linear-gradient(to top, #add8e6, #87ceeb)"; # כחול בהיר (לא מספיק חם) 83 | return "linear-gradient(to top, #5aaaff, #0059b3)"; # כחול (חימום מינימלי) 84 | ``` 85 | 86 | --- 87 | 88 | ### 📌 **שינוי אייקון דינמי לפי טמפרטורה** 89 | 90 | 📌 כאשר הטמפרטורה **נמוכה מ-25°C**, האייקון משתנה ל-❄️ `mdi:snowflake` (מים קרים). 91 | 📌 אחרת, הוא נשאר **`mdi:thermometer-water`** כדי לסמן מים חמים. 92 | 93 | ```yaml 94 | icon: > 95 | [[[ if (entity.state < 25) return 'mdi:snowflake'; return 'mdi:thermometer-water'; ]]] 96 | ``` 97 | 98 | --- 99 | 100 | ### 📌 **חישוב זמינות המקלחות לפי הטמפרטורה** 101 | 102 | - **מתחת ל-25°C** → `"אין מספיק מים למקלחת"` 103 | - **בין 25°C - 28°C** → `"מקלחת אחת זמינה"` 104 | - **בין 29°C - 31°C** → `"שתי מקלחות זמינות"` 105 | - **בין 32°C - 34°C** → `"שלוש מקלחות זמינות"` 106 | - **מעל 34°C** → `"ארבע מקלחות ומעלה זמינות"` 107 | 108 | 📌 **אם ברצונך להתאים את זמינות המקלחות, שנה את הערכים בקוד הבא:** 109 | 110 | ```yaml 111 | label: | 112 | [[[ 113 | if (entity.state < 25) return 'אין מספיק מים למקלחת'; 114 | if (entity.state <= 28) return 'מקלחת אחת זמינה'; 115 | if (entity.state <= 31) return 'שתי מקלחות זמינות'; 116 | if (entity.state <= 34) return 'שלוש מקלחות זמינות'; 117 | return 'ארבע מקלחות ומעלה זמינות'; 118 | ]]] 119 | ``` 120 | 121 | --- 122 | 123 | ## 🔹 **שלב 3: שמירה ובדיקת ההגדרות** 124 | 125 | ✅ **שמור את השינויים ב-Lovelace UI.** 126 | ✅ **ודא שהחיישן מעדכן את הטמפרטורה בזמן אמת.** 127 | ✅ **בדוק שהצבעים משתנים בהתאם לטמפרטורה.** 128 | ✅ **התאם את ערכי הטמפרטורה לפי הצורך.** 129 | 130 | --- 131 | 132 | ## 🚀 **סיכום** 133 | 134 | 🎨 **כרטיס זה משנה צבעים, אייקונים ותוויות בהתבסס על טמפרטורה בזמן אמת.** 135 | 🔥 **ניתן להתאים את רמות הטמפרטורה בהתאם לחימום של הדוד שלך.** 136 | ✅ **ודא שישות החיישן (`sensor.boiler_temperature_2`) מוגדרת כהלכה.** 137 | 138 | --- 139 | 140 | ## 📬 **צריך עזרה?** 141 | 142 | אם יש לך שאלות או שיפורים להציע, נשמח לשמוע! ניתן לפתוח **Issue** או **Pull Request** בפרויקט. 🚀 143 | 144 | 🔗 **עקוב אחרינו לעוד פרויקטים של Home Assistant!** 145 | 📣 **הצטרפו לקבוצת הפייסבוק שלנו:** **Home Assistant - קהילה ומדריכים!** 146 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 147 | -------------------------------------------------------------------------------- /boiler-temperature-card/README.md: -------------------------------------------------------------------------------- 1 | # 🔥 Boiler Temperature Card with Dynamic Colors and Shower Availability in Home Assistant 2 | 3 | This guide will walk you through creating a **fully customized Lovelace card** for **boiler temperature monitoring** with **dynamic color indicators, an adaptive icon, and real-time shower availability based on temperature**. 4 | 5 | ![Boiler Temperature Card](images/boiler-temp-english.png) ![Boiler Temperature Card](images/boiler-temp-heb.png) 6 | 7 | --- 8 | 9 | ## 🛠️ Requirements 10 | ✅ **A boiler temperature sensor** (e.g., `sensor.boiler_temperature_2`) 11 | ✅ **HACS installed with `custom:button-card`** 12 | 13 | --- 14 | 15 | ## 🔹 Step 1: Create the Custom Lovelace Boiler Temperature Card 16 | 17 | To display boiler temperature visually with **color-coded backgrounds, dynamic icons, and shower availability labels**, add the following YAML to your **Lovelace Dashboard**: 18 | 19 | 📌 **Paste this code into your Lovelace YAML configuration:** 20 | 21 | ```yaml 22 | type: custom:button-card 23 | entity: sensor.boiler_temperature_2 24 | name: " " 25 | show_state: true 26 | show_label: true 27 | icon: > 28 | [[[ if (entity.state < 25) return 'mdi:snowflake'; return 29 | 'mdi:thermometer-water'; ]]] 30 | styles: 31 | card: 32 | - width: 377px 33 | - height: 100px 34 | - background: | 35 | [[[ 36 | if (entity.state > 35) return "linear-gradient(to top, #ff5a5a, #b30000)"; 37 | if (entity.state >= 30) return "linear-gradient(to top, #ffaa5a, #ff751a)"; 38 | if (entity.state < 25) return "linear-gradient(to top, #add8e6, #87ceeb)"; 39 | return "linear-gradient(to top, #5aaaff, #0059b3)"; 40 | ]]] 41 | - border-radius: 10px 42 | - box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.6) 43 | - color: white 44 | - font-size: 18px 45 | - padding: 15px 46 | - text-align: center 47 | icon: 48 | - color: white 49 | - size: 30px 50 | label: 51 | - font-size: 14px 52 | - font-weight: bold 53 | - color: rgba(255, 255, 255, 0.85) 54 | label: | 55 | [[[ 56 | if (entity.state < 25) return 'Not enough hot water for a shower'; 57 | if (entity.state <= 28) return 'One shower available'; 58 | if (entity.state <= 31) return 'Two showers available'; 59 | if (entity.state <= 34) return 'Three showers available'; 60 | return 'Four or more showers available'; 61 | ]]] 62 | ``` 63 | 64 | --- 65 | 66 | ## 🔹 Step 2: Understanding the Configuration 67 | 68 | ### 📌 Dynamic Background Colors 69 | 70 | The background color of the card changes dynamically based on temperature: 71 | 72 | - **Below 25°C** → ❄️ Light Blue (Insufficient hot water) 73 | - **Between 25°C - 29°C** → 🔵 Blue (Minimal hot water) 74 | - **Between 30°C - 34°C** → 🟠 Orange (Good for showers) 75 | - **Above 35°C** → 🔴 Red (Plenty of hot water) 76 | 77 | 📌 **If you need to adjust temperature thresholds, modify the background values:** 78 | 79 | ```yaml 80 | if (entity.state > 35) return "linear-gradient(to top, #ff5a5a, #b30000)"; # Red (Hot water ready) 81 | if (entity.state >= 30) return "linear-gradient(to top, #ffaa5a, #ff751a)"; # Orange (Good showers) 82 | if (entity.state < 25) return "linear-gradient(to top, #add8e6, #87ceeb)"; # Light Blue (Not enough) 83 | return "linear-gradient(to top, #5aaaff, #0059b3)"; # Blue (Minimal hot water) 84 | ``` 85 | 86 | ### 📌 Dynamic Icons 87 | 88 | If the temperature is below 25°C, the icon changes to ❄️ `mdi:snowflake` (Cold water). 89 | Otherwise, it defaults to `mdi:thermometer-water` to indicate hot water. 90 | 91 | ```yaml 92 | icon: > 93 | [[[ if (entity.state < 25) return 'mdi:snowflake'; return 'mdi:thermometer-water'; ]]] 94 | ``` 95 | 96 | ### 📌 Shower Availability Calculation 97 | 98 | - **Below 25°C** → "Not enough hot water for a shower" 99 | - **Between 25°C - 28°C** → "One shower available" 100 | - **Between 29°C - 31°C** → "Two showers available" 101 | - **Between 32°C - 34°C** → "Three showers available" 102 | - **Above 34°C** → "Four or more showers available" 103 | 104 | 📌 **If you need to customize when showers become available, update the `label` values:** 105 | 106 | ```yaml 107 | label: | 108 | [[[ 109 | if (entity.state < 25) return 'Not enough hot water for a shower'; 110 | if (entity.state <= 28) return 'One shower available'; 111 | if (entity.state <= 31) return 'Two showers available'; 112 | if (entity.state <= 34) return 'Three showers available'; 113 | return 'Four or more showers available'; 114 | ]]] 115 | ``` 116 | 117 | --- 118 | 119 | ## 🔹 Step 3: Saving and Testing 120 | 121 | ✅ **Save the changes in Lovelace UI.** 122 | ✅ **Ensure the temperature sensor updates correctly.** 123 | ✅ **Verify that colors change dynamically based on boiler temperature.** 124 | ✅ **Adjust temperature thresholds and colors if needed.** 125 | 126 | 127 | 128 | --- 129 | 130 | ## 🚀 Summary 131 | 132 | 🎨 **This card dynamically changes colors, icons, and labels based on real-time temperature readings.** 133 | 🔥 **Customize temperature thresholds to match your boiler’s heating behavior.** 134 | ✅ **Ensure your sensor entity (`sensor.boiler_temperature_2`) is correctly set.** 135 | 136 | --- 137 | 138 | ## 📬 Need Help? 139 | 140 | If you have questions or want to improve this setup, feel free to open an issue or submit a pull request! 🚀 141 | 142 | 🔗 **Follow for more Home Assistant projects!** 143 | 📣 **Join our Facebook group:** **Home Assistant - קהילה ומדריכים** 144 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 145 | -------------------------------------------------------------------------------- /smart-shopping-list/עברית/README.md: -------------------------------------------------------------------------------- 1 | # 🛒 רשימת קניות חכמה ב-Home Assistant 2 | 🚀 **הוספת מוצרים לרשימת הקניות בלחיצה אחת באמצעות כפתורים עם תמונות ושמות מוצרים!** 3 | 4 | כיצד ליצור **רשימת קניות חכמה ב-Home Assistant** עם **כפתורי מוצרים מותאמים אישית**, כולל **תמונות מקומיות**. 5 | כל לחיצה על מוצר **תוסיף אותו ישירות לרשימת הקניות** ב-Home Assistant. 6 | 7 | | ![Smart Shopping List](images/shopping.png) | ![Smart Shopping List](images/shopping2.png) | 8 | |--------------------------------------------|--------------------------------------------| 9 | 10 | --- 11 | 12 | ## **🛠️ דרישות מקדימות** 13 | ✅ **הפעלת רכיב `shopping_list` ב-Home Assistant** 14 | ✅ **התקנת `custom:button-card` דרך HACS** 15 | ✅ **העלאת תמונות מוצרים לתיקייה `/local/`** 16 | ✅ **הפעלת מצב YAML בלוח הבקרה של Lovelace (אם לא עובדים בממשק הגרפי)** 17 | 18 | --- 19 | 20 | ## **🔹 שלב 1: הפעלת רשימת הקניות (`shopping_list`)** 21 | 📌 ניתן להפעיל את רכיב רשימת הקניות **ישירות מהממשק הגרפי** (ללא עריכת קובץ `configuration.yaml`): 22 | 23 | 1️⃣ **גש ל-`Settings` → `Devices & Services`** 24 | 2️⃣ **לחץ על `+ Add Integration` (הוספת אינטגרציה חדשה)** 25 | 3️⃣ **חפש "Shopping List" ובחר בה** 26 | 4️⃣ **לחץ על `Submit` להשלמת ההתקנה** 27 | 28 | 💡 **לאחר ההוספה, יש לבצע ריסטארט ל-Home Assistant כדי לוודא שהכל נטען כראוי!** 29 | 30 | 📌 **אם אתה מעדיף להגדיר את הרשימה באופן ידני דרך `configuration.yaml`, הוסף את השורה הבאה:** 31 | ```yaml 32 | shopping_list: 33 | ``` 34 | 35 | --- 36 | 37 | ## **🔹 שלב 2: הוספת תמונות מוצרים ושימוש בהן** 38 | 📌 כדי שהתמונות יוצגו נכון, יש **להעלות אותן ידנית** לתיקייה **הנכונה** במערכת Home Assistant. 39 | 40 | 📌 **שלבים להעלאת התמונות:** 41 | 1️⃣ **גש לתיקיית הקבצים של Home Assistant:** 42 | - אם יש לך **גישה ישירה לשרת**, היכנס לתיקייה `/config/www/`. 43 | - אם אתה **משתמש ב-File Editor ב-Home Assistant**, לחץ על `Browse Filesystem` ונווט לתיקיית `/config/www/`. 44 | 45 | 2️⃣ **העלה את תמונות המוצרים לתוך התיקייה `/config/www/`.** 46 | - לדוגמה, אם יש לך **חלב, לחם וביצים**, קרא לקבצים: 47 | ``` 48 | milk.png 49 | bread.png 50 | eggs.png 51 | ``` 52 | 53 | 3️⃣ **ודא שהגישה לתמונות נכונה על ידי פתיחת הקובץ דרך הדפדפן:** 54 | - היכנס לכתובת: 55 | ``` 56 | http://homeassistant.local:8123/local/milk.png 57 | ``` 58 | - אם התמונה מוצגת, סימן שההעלאה הצליחה! ✅ 59 | 60 | --- 61 | 62 | ## **🔹 שלב 3: יצירת כפתורים להוספת מוצרים** 63 | כעת ניצור **כפתורים עם תמונות ושמות** שיאפשרו לך להוסיף מוצרים לרשימת הקניות בלחיצה אחת. 64 | 65 | 📌 **הוסף את הקוד הבא ל-Lovelace YAML:** 66 | 67 | ```yaml 68 | type: grid 69 | title: "רשימת קניות" 70 | columns: 2 71 | square: false 72 | cards: 73 | - type: custom:button-card 74 | name: "חלב" 75 | entity_picture: /local/milk.png 76 | show_entity_picture: true 77 | show_name: true 78 | styles: 79 | name: 80 | - font-size: 14px 81 | - font-weight: bold 82 | - color: black 83 | tap_action: 84 | action: call-service 85 | service: shopping_list.add_item 86 | data: 87 | name: חלב 88 | 89 | - type: custom:button-card 90 | name: "לחם" 91 | entity_picture: /local/bread.png 92 | show_entity_picture: true 93 | show_name: true 94 | styles: 95 | name: 96 | - font-size: 14px 97 | - font-weight: bold 98 | - color: black 99 | tap_action: 100 | action: call-service 101 | service: shopping_list.add_item 102 | data: 103 | name: לחם 104 | 105 | - type: custom:button-card 106 | name: "ביצים" 107 | entity_picture: /local/eggs.png 108 | show_entity_picture: true 109 | show_name: true 110 | styles: 111 | name: 112 | - font-size: 14px 113 | - font-weight: bold 114 | - color: black 115 | tap_action: 116 | action: call-service 117 | service: shopping_list.add_item 118 | data: 119 | name: ביצים 120 | ``` 121 | 122 | 📌 **מה הקוד עושה?** 123 | ✅ **כל כפתור מציג תמונה של המוצר עם שם מתחת** 124 | ✅ **בלחיצה, המוצר נוסף לרשימת הקניות אוטומטית** 125 | ✅ **התמונות מאוחסנות מקומית בתיקיית `/local/`** 126 | ✅ **השמות מוצגים בגופן מודגש בצבע שחור** 127 | 128 | --- 129 | 130 | ## **🔹 שלב 4: הצגת רשימת הקניות בלוח הבקרה** 131 | 📌 ניתן להוסיף כרטיס רשימת קניות ישירות מהממשק הגרפי (GUI) כך: 132 | 133 | 134 | 📌 **במצב YAML, ניתן להוסיף את הכרטיס ידנית כך:** 135 | 136 | ```yaml 137 | type: shopping-list 138 | title: "רשימת הקניות שלי" 139 | ``` 140 | 141 | 📌 **כל מוצר שנוסף יופיע באופן אוטומטי בראש הרשימה!** 142 | 143 | --- 144 | 145 | ## **🔹 שלב 5: שיפור עיצוב הממשק** 146 | כדי לארגן את הממשק בצורה נוחה, נשתמש ב`vertical-stack` כדי **להציג את הכפתורים מעל הרשימה**: 147 | 148 | ```yaml 149 | type: vertical-stack 150 | cards: 151 | - type: grid 152 | title: "הוספת מוצרים בלחיצה" 153 | columns: 2 154 | square: false 155 | cards: 156 | - (הכפתורים שהוספת קודם) 157 | 158 | - type: shopping-list 159 | title: "רשימת הקניות" 160 | ``` 161 | 162 | 📌 **מה היתרונות של עיצוב זה?** 163 | ✅ **כפתורי ההוספה מופיעים בראש הדף** 164 | ✅ **הרשימה מוצגת מתחת לכפתורים** 165 | ✅ **ניתן להוסיף מוצרים ולראות אותם מיד ברשימה** 166 | 167 | --- 168 | 169 | ## **🚀 סיכום** 170 | ✅ **לחיצה על כפתור מוצר מוסיפה אותו לרשימת הקניות** 171 | ✅ **כפתורים מעוצבים עם תמונות מקומיות ושמות מתחת** 172 | ✅ **המוצרים החדשים מופיעים בראש הרשימה** 173 | ✅ **ניתן להפעיל את רשימת הקניות ישירות מה-GUI ללא צורך ב-`configuration.yaml`** 174 | ✅ **שימוש בפריסה נוחה עם `grid` ו-`shopping-list`** 175 | 176 | 📬 **יש שאלות או שיפורים? ספרו בתגובות!** 177 | 178 | --- 179 | 📣 **הצטרפו לקבוצת הפייסבוק שלנו:** **Home Assistant - קהילה ומדריכים!** 180 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 181 | -------------------------------------------------------------------------------- /boiler_slider_timer/עברית/README.md: -------------------------------------------------------------------------------- 1 | # 🔥 **טיימר חכם לדוד עם סליידר ב-Home Assistant (הפעלה ידנית)** 2 | 3 | מדריך זה ילמד אותך **כיצד ליצור סליידר מותאם אישית ב-Lovelace** שיאפשר לך **להגדיר מראש את זמן החימום של הדוד**. 4 | כאשר תדליק את הדוד, הוא **ימשוך את הזמן שנבחר בסליידר** וייכבה אוטומטית כאשר הזמן יסתיים. 5 | בנוסף, הסליידר **יאופס לערך ברירת מחדל כאשר הדוד יכובה**. 6 | 7 | ![Boiler_Slider_Timer](images/boiler_control_heb.png) ![Boiler_Slider_Timer](images/boiler_control.png) 8 | 9 | --- 10 | 11 | ## 🛠️ **דרישות מקדימות** 12 | ✅ **מתג חכם לשליטה על הדוד** (לדוגמה: `switch.boiler`) 13 | ✅ **ישות טיימר ב-Home Assistant** (לדוגמה: `timer.boiler_timer`) 14 | ✅ **הפעלת מצב YAML בלוח הבקרה של Lovelace** 15 | ✅ **HACS מותקן (לאלמנטים UI מתקדמים - אופציונלי)** 16 | 17 | --- 18 | 19 | ## 🔹 **שלב 1: יצירת טיימר עבור הדוד** 20 | ראשית, נגדיר **ישות טיימר** שתעקוב אחר זמן החימום. 21 | 22 | 📌 **הוסף את השורות הבאות ל-`configuration.yaml`:** 23 | 24 | ```yaml 25 | timer: 26 | boiler_timer: 27 | duration: "00:30:00" 28 | name: "טיימר הדוד" 29 | icon: mdi:timer-outline 30 | ``` 31 | 32 | 🔹 **ברירת המחדל של הטיימר היא 30 דקות**, אך ניתן לשנות אותה דרך הסליידר. 33 | 34 | --- 35 | 36 | ## 🔹 **שלב 2: יצירת סליידר לקביעת זמן החימום** 37 | כדי לאפשר למשתמשים לבחור את משך החימום, נגדיר **ישות `input_number` עם טווח זמנים גמיש**. 38 | 39 | 📌 **הוסף את הקוד הבא ל-`configuration.yaml`:** 40 | 41 | ```yaml 42 | input_number: 43 | boiler_duration: 44 | name: "משך הפעלת הדוד" 45 | min: 5 46 | max: 120 47 | step: 5 48 | unit_of_measurement: "דקות" 49 | mode: slider 50 | icon: mdi:clock-outline 51 | ``` 52 | 53 | 🔹 הסליידר מאפשר למשתמשים לבחור זמן **בין 5 ל-120 דקות**, בקפיצות של **5 דקות**. 54 | 55 | --- 56 | 57 | ## 🔹 **שלב 3: אוטומציה להפעלת הדוד על פי ערך הסליידר** 58 | כעת ניצור **אוטומציה** כך שכאשר מדליקים את הדוד, הוא ימשוך את **הערך מהסליידר** ויתחיל את הטיימר. 59 | 60 | 📌 **הוסף את הקוד הבא ל-`automations.yaml`:** 61 | 62 | ```yaml 63 | - alias: "הפעלת טיימר הדוד לפי הסליידר" 64 | trigger: 65 | - platform: state 66 | entity_id: switch.boiler 67 | to: "on" 68 | action: 69 | - service: timer.start 70 | entity_id: timer.boiler_timer 71 | data: 72 | duration: > 73 | {{ (states('input_number.boiler_duration') | int // 60) | string | default('00') }}:{{ (states('input_number.boiler_duration') | int % 60) | string | default('00') }}:00 74 | ``` 75 | 76 | 📌 **איך זה עובד?** 77 | ✅ כאשר **מתג הדוד מופעל**, האוטומציה מושכת את הזמן מהסליידר. 78 | ✅ **הטיימר יתחיל לפעול בהתאם לזמן שנבחר.** 79 | 80 | --- 81 | 82 | ## 🔹 **שלב 4: אוטומציה לכיבוי הדוד בסיום הטיימר** 83 | כדי למנוע חימום מיותר, נגדיר אוטומציה שמכבה את הדוד כאשר הטיימר מסתיים. 84 | 85 | 📌 **הוסף את הקוד הבא ל-`automations.yaml`:** 86 | 87 | ```yaml 88 | - alias: "כיבוי הדוד בסיום הטיימר" 89 | trigger: 90 | - platform: event 91 | event_type: timer.finished 92 | event_data: 93 | entity_id: timer.boiler_timer 94 | action: 95 | - service: switch.turn_off 96 | target: 97 | entity_id: switch.boiler 98 | ``` 99 | 100 | 📌 **איך זה עובד?** 101 | ✅ כאשר **הטיימר מסתיים**, הדוד **ייכבה אוטומטית**. 102 | ✅ גם אם תשנה את הסליידר, הדוד **לא ידלק מיד**, אלא רק בהפעלה הבאה. 103 | 104 | --- 105 | 106 | ## 🔹 **שלב 5: איפוס הסליידר כאשר הדוד נכבה** 107 | כדי לוודא שהסליידר **יאופס לערך ברירת מחדל** בכל פעם שהדוד מכובה, נוסיף אוטומציה נוספת. 108 | 109 | 📌 **הוסף את הקוד הבא ל-`automations.yaml`:** 110 | 111 | ```yaml 112 | - alias: "איפוס משך טיימר הדוד עם הכיבוי" 113 | trigger: 114 | - platform: state 115 | entity_id: switch.boiler 116 | to: "off" 117 | action: 118 | - service: input_number.set_value 119 | target: 120 | entity_id: input_number.boiler_duration 121 | data: 122 | value: 30 123 | - service: timer.finish 124 | target: 125 | entity_id: timer.boiler_timer 126 | ``` 127 | 128 | 📌 **איך זה עובד?** 129 | ✅ **כאשר הדוד נכבה, הסליידר יאופס ל-30 דקות** (ניתן לשנות את ברירת המחדל). 130 | 131 | --- 132 | 133 | ## 🔹 **שלב 6: הוספת הסליידר ל-Lovelace UI** 134 | כדי לשלוט בדוד בצורה נוחה, נוסיף כרטיס Lovelace שמציג את **מתג הדוד, הסליידר, וזמן הטיימר שנותר**. 135 | 136 | 📌 **הוסף את הקוד הבא ל-Lovelace:** 137 | 138 | ```yaml 139 | type: entities 140 | title: "בקרת הדוד" 141 | show_header_toggle: false 142 | entities: 143 | - entity: switch.boiler 144 | name: "מצב הדוד" 145 | - entity: input_number.boiler_duration 146 | name: "משך הפעלת הדוד" 147 | - entity: timer.boiler_timer 148 | name: "זמן נותר" 149 | ``` 150 | 151 | 🔹 **מה יוצג בכרטיס?** 152 | ✅ **מתג הפעלה/כיבוי של הדוד** 153 | ✅ **סליידר להגדרת זמן החימום** 154 | ✅ **טיימר עם הזמן שנותר להפעלה** 155 | 156 | --- 157 | 158 | ## 🔹 **שלב 7: שיפור ה-UI עם סליידר מתקדם** 159 | אם תרצה **ממשק יפה יותר**, התקן `slider-entity-row` דרך HACS. 160 | 161 | 📌 **לאחר ההתקנה, הוסף את הקוד הבא ל-Lovelace:** 162 | 163 | ```yaml 164 | type: entities 165 | title: "בקרת דוד מתקדמת" 166 | show_header_toggle: false 167 | entities: 168 | - entity: switch.boiler 169 | name: "מצב הדוד" 170 | - type: custom:slider-entity-row 171 | entity: input_number.boiler_duration 172 | name: "קביעת זמן חימום" 173 | full_row: true 174 | - entity: timer.boiler_timer 175 | name: "זמן שנותר" 176 | ``` 177 | 178 | 📌 **מה משתפר כאן?** 179 | ✅ **הסליידר מוצג לכל רוחב השורה** 180 | ✅ **עיצוב מודרני ונקי יותר** 181 | 182 | --- 183 | 184 | ## 🔹 **שלב 8: בדיקת המערכת** 185 | 🔹 **כך תבדוק שהכל פועל כראוי:** 186 | ✅ **הפעל את הדוד וודא שהוא מושך את הזמן מהסליידר.** 187 | ✅ **בדוק שהטיימר מציג את הזמן הנכון.** 188 | ✅ **וודא שהדוד נכבה אוטומטית עם סיום הטיימר.** 189 | ✅ **בדוק שהסליידר מתאפס לערך ברירת המחדל כשהדוד נכבה.** 190 | 191 | --- 192 | 193 | ## 🚀 **סיכום** 194 | ✅ **יצרנו מערכת חכמה לשליטה בדוד עם טיימר מותאם אישית.** 195 | ✅ **הדוד נדלק לפי ערך הסליידר, אך רק בהפעלה ידנית.** 196 | ✅ **כיבוי אוטומטי מופעל עם סיום הטיימר.** 197 | ✅ **הסליידר מתאפס לערך ברירת המחדל כאשר הדוד נכבה.** 198 | ✅ **ניתן לשפר את המערכת עם UI מתקדם, התראות, ועוד.** 199 | 200 | 📬 **שאלות או שיפורים? שתפו אותנו בתגובות!** 🚀 201 | 📣 **הצטרפו לקבוצת הפייסבוק שלנו:** **Home Assistant - קהילה ומדריכים!** 202 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 203 | -------------------------------------------------------------------------------- /boiler_slider_timer/README.md: -------------------------------------------------------------------------------- 1 | # 🔥 **Slider Timer for Boiler in Home Assistant (Manual Activation)** 2 | 3 | This guide will walk you through **creating a custom slider in Lovelace** that allows you to **predefine the heating time for the boiler**. 4 | When you turn on the boiler, it will **pull the selected time from the slider** and automatically turn off when the timer expires. 5 | Additionally, we will reset the slider to a default value when the boiler turns off. 6 | 7 | ![Boiler_Slider_Timer](images/boiler_control_heb.png) ![Boiler_Slider_Timer](images/boiler_control.png) 8 | --- 9 | 10 | ## 🛠️ **Requirements** 11 | ✅ **A smart switch controlling the boiler** (e.g., `switch.boiler`) 12 | ✅ **A timer entity in Home Assistant** (e.g., `timer.boiler_timer`) 13 | ✅ **Lovelace YAML editing enabled** 14 | ✅ **HACS installed for custom UI elements (optional)** 15 | 16 | --- 17 | 18 | ## 🔹 **Step 1: Creating a Timer for the Boiler** 19 | First, we need to define a **timer entity** that will track the heating duration. 20 | 21 | 📌 **Add the following to your `configuration.yaml`:** 22 | 23 | ```yaml 24 | timer: 25 | boiler_timer: 26 | duration: "00:30:00" 27 | name: "Boiler Timer" 28 | icon: mdi:timer-outline 29 | ``` 30 | 31 | The default timer is **30 minutes**, but it can be adjusted using the slider. 32 | 33 | --- 34 | 35 | ## 🔹 **Step 2: Creating a Slider to Set Boiler Duration** 36 | To allow users to select the heating duration, we will create an **input_number** entity with a flexible time range. 37 | 38 | 📌 **Add this to `configuration.yaml`:** 39 | 40 | ```yaml 41 | input_number: 42 | boiler_duration: 43 | name: "Boiler Duration" 44 | min: 5 45 | max: 120 46 | step: 5 47 | unit_of_measurement: "minutes" 48 | mode: slider 49 | icon: mdi:clock-outline 50 | ``` 51 | 52 | 🔹 The slider allows users to select a time between **5 and 120 minutes**, increasing in **5-minute steps**. 53 | 54 | --- 55 | 56 | ## 🔹 **Step 3: Automation to Start the Boiler Based on the Slider Value** 57 | Now, we will create an **automation** that ensures when the boiler is turned on, it pulls the **selected time** from the slider and starts the timer. 58 | 59 | 📌 **Add this to `automations.yaml`:** 60 | 61 | ```yaml 62 | - alias: "Start Boiler Timer from Slider" 63 | trigger: 64 | - platform: state 65 | entity_id: switch.boiler 66 | to: "on" 67 | action: 68 | - service: timer.start 69 | entity_id: timer.boiler_timer 70 | data: 71 | duration: > 72 | {{ (states('input_number.boiler_duration') | int // 60) | string | default('00') }}:{{ (states('input_number.boiler_duration') | int % 60) | string | default('00') }}:00 73 | ``` 74 | 75 | 📌 **How it works?** 76 | ✅ When the **boiler switch is turned on**, this automation will fetch the selected time from the slider. 77 | ✅ **The timer will start accordingly.** 78 | 79 | --- 80 | 81 | ## 🔹 **Step 4: Automation to Turn Off the Boiler When the Timer Ends** 82 | To prevent unnecessary heating, we will create an automation that turns off the boiler when the timer expires. 83 | 84 | 📌 **Add this to `automations.yaml`:** 85 | 86 | ```yaml 87 | - alias: "Turn Off Boiler When Timer Ends" 88 | trigger: 89 | - platform: event 90 | event_type: timer.finished 91 | event_data: 92 | entity_id: timer.boiler_timer 93 | action: 94 | - service: switch.turn_off 95 | target: 96 | entity_id: switch.boiler 97 | ``` 98 | 99 | 📌 **How it works?** 100 | ✅ When the **timer ends**, the boiler **will automatically turn off**. 101 | ✅ Even if you adjust the slider, the boiler **won't turn on immediately**, only on the next activation. 102 | 103 | --- 104 | 105 | ## 🔹 **Step 5: Reset the Slider When the Boiler Turns Off** 106 | To ensure that the slider **resets to a default value** every time the boiler turns off, we will add this automation. 107 | 108 | 📌 **Add this to `automations.yaml`:** 109 | 110 | ```yaml 111 | - alias: "Reset Boiler Timer Slider on Shutdown" 112 | triggers: 113 | - entity_id: switch.boiler 114 | to: 'off' 115 | trigger: state 116 | actions: 117 | - target: 118 | entity_id: input_number.boiler_duration 119 | data: 120 | value: 30 121 | action: input_number.set_value 122 | - action: timer.finish 123 | metadata: {} 124 | data: {} 125 | target: 126 | entity_id: timer.boiler_timer 127 | ``` 128 | 129 | 📌 **What it does?** 130 | ✅ **When the boiler turns off, the slider resets to 30 minutes** (you can change the default value if needed). 131 | 132 | --- 133 | 134 | ## 🔹 **Step 6: Adding the Slider to Lovelace UI** 135 | To visually control the boiler in Lovelace, we will add a card displaying the **toggle switch**, **slider**, and **remaining time**. 136 | 137 | 📌 **Add this to your Lovelace configuration:** 138 | 139 | ```yaml 140 | type: entities 141 | title: "Boiler Control" 142 | show_header_toggle: false 143 | entities: 144 | - entity: switch.boiler 145 | name: "Boiler Power" 146 | - entity: input_number.boiler_duration 147 | name: "Boiler Duration" 148 | - entity: timer.boiler_timer 149 | name: "Time Remaining" 150 | ``` 151 | 152 | 🔹 **What will be displayed?** 153 | ✅ **Boiler ON/OFF switch** 154 | ✅ **Slider to set heating duration** 155 | ✅ **Countdown timer for the remaining time** 156 | 157 | --- 158 | 159 | ## 🔹 **Step 7: Improving the UI with a Better Slider** 160 | If you want a **better-looking UI**, you can install `slider-entity-row` from HACS. 161 | 162 | 📌 **After installing `slider-entity-row`, add this to Lovelace:** 163 | 164 | ```yaml 165 | type: entities 166 | title: "Advanced Boiler Control" 167 | show_header_toggle: false 168 | entities: 169 | - entity: switch.boiler 170 | name: "Boiler Power" 171 | - type: custom:slider-entity-row 172 | entity: input_number.boiler_duration 173 | name: "Set Heating Time" 174 | full_row: true 175 | - entity: timer.boiler_timer 176 | name: "Time Left" 177 | ``` 178 | 179 | 📌 **What improves here?** 180 | ✅ **The slider is stretched across the full row** 181 | ✅ **Modern and clean UI design** 182 | 183 | --- 184 | 185 | ## 🔹 **Step 8: Testing Everything** 186 | 🔹 **Follow these steps to test your setup:** 187 | ✅ **Turn on the boiler and check if it pulls the time from the slider.** 188 | ✅ **Verify that the timer displays the correct countdown.** 189 | ✅ **Ensure the boiler turns off automatically when the timer expires.** 190 | ✅ **Check that the slider resets to the default value when the boiler turns off.** 191 | 192 | --- 193 | 194 | ## 🚀 **Summary** 195 | ✅ **We created a smart boiler control system with a custom timer.** 196 | ✅ **The boiler activates based on the slider value, but only when manually turned on.** 197 | ✅ **An automatic shutdown is triggered when the timer expires.** 198 | ✅ **The slider resets to its default value when the boiler turns off.** 199 | ✅ **This setup can be further enhanced with notifications, advanced UI elements, and automation tweaks.** 200 | 201 | --- 202 | 203 | ## 📬 **Need Help?** 204 | If you have any questions or want to improve this setup, feel free to open an issue or submit a pull request! 🚀 205 | 📣 **Join our Facebook group:** **Home Assistant - קהילה ומדריכים** 206 | 🔗 **https://www.facebook.com/groups/homeassistant.israel** 207 | 208 | --------------------------------------------------------------------------------