Commit Graph

36 Commits

Author SHA1 Message Date
claus 394fadd463 Fix vinduesautomationer og template-fejl
- Varme: brug wait_template i stedet for wait_for_trigger (template entity_id)
- Ventilation: brug condition template i stedet for condition state
- maintenance.yaml: fix manglende komma i batteri-liste
- vedligehold.yaml: fjern duplicate key 'name'
2026-04-18 08:19:30 +02:00
claus aa6413ea79 Aqara vinduesensorer: automationer, vedligehold og rum-views
- Varme slukker automatisk når vindue åbnes (andreas, daniel, soveværelse, lille bad)
- Notifikation ved åbent vindue når ingen er hjemme
- Notifikation når alle forlader huset med åbne vinduer
- Ventilation: påmindelse om udluftning ved høj CO2/fugt (kl 6-22)
- Påmindelse om at lukke vindue efter 15 min udluftning
- 6 vinduesensor-batterier tilføjet til vedligehold-view og maintenance template
- Vinduesensor tilføjet til andreas, daniel og soveværelse room views
2026-04-17 14:12:40 +02:00
claus ba49056764 Tilføj garageport sensor batteri til vedligehold-view 2026-04-17 08:04:18 +02:00
claus 66e28ce68f Tilføj plæneklipper error-status til vedligehold-view 2026-04-17 08:02:41 +02:00
claus 2c4f6c4308 Madplan dashboard view + Mealie sensorer + mad_announcement med dagens ret 2026-04-16 19:14:39 +02:00
claus ecaf672f05 Add Tesla maintenance section 2026-04-12 13:52:45 +02:00
claus e446395b87 Improve Roborock last clean sensor refresh 2026-04-10 14:52:55 +02:00
claus 803fba79f7 Fix Tesla charge plan time window and dashboard entities 2026-04-09 19:05:09 +02:00
claus 7a61bb50d0 Fix Tesla dashboard entities and charging plan view 2026-04-09 18:59:23 +02:00
claus 2918b73d3e Replace deprecated sensor.hacs with new template sensor hacs_opdateringer 2026-04-09 17:04:22 +02:00
claus e4fab4f5c8 Fix AI script metadata error and improve Roborock sensor refresh 2026-04-09 16:31:49 +02:00
claus 59b118b111 Add maintenance dashboard and summary counter 2026-04-09 07:35:15 +02:00
claus ea7e9277a6 Migrate room dashboard toggles to template 2026-04-08 17:00:03 +02:00
claus 463d24bddd Refine Roborock home dashboard row 2026-04-07 17:42:26 +02:00
claus cf52096d82 Migrate Claus notifications to iPhone 15 Pro 2026-04-07 16:27:58 +02:00
claus b43e973c57 Fix family presence sensor sources 2026-04-07 15:50:47 +02:00
claus a0b2e33e49 Compact home overview status cards 2026-04-06 17:27:54 +02:00
claus 4a18e66bd5 Fix template include loading 2026-04-06 13:46:13 +02:00
claus 8e6c6d0111 Show compact dishwasher start time 2026-04-06 11:42:19 +02:00
claus 9bc76effe6 Migrate legacy template sensors 2026-04-06 07:15:09 +02:00
claus e800b3ba69 Use hybrid family presence tracking 2026-04-05 19:29:36 +02:00
claus 7f0859f446 tesla 2026-03-24 18:25:18 +01:00
claus 64032e6682 tesla charging 2026-03-24 18:24:58 +01:00
claus 8fa01e1eb4 slettet 2026-03-22 07:51:34 +01:00
claus 5eae8e1d6a nu virker det 2026-03-22 07:50:18 +01:00
claus 5cfb27c3ad Refactor Tesla charging templates to modern template syntax
- Converted all Tesla sensors and binary_sensors to the modern
  `template:` integration format compatible with Home Assistant 2026+
- Combined kWh needed, charge hours, and smart charging decision
  into a single template file for inclusion via !include_dir_merge_named
- Preserves existing behavior while preparing for future HA versions
- Legacy template warnings remain for binary_sensor but functionality works
2026-03-20 20:19:50 +01:00
claus 5c90741847 Ændret alle "kommer hjem" trackers til unifi 2026-03-18 07:00:55 +01:00
claus e4bf035082 fix(homeassistant): correct template binary_sensor structure for family presence
- Align template syntax with `!include_dir_merge_named` setup
- Remove invalid nested `template:` key from included file
- Add `unique_id` for proper entity registration and UI management
- Refactor state logic using list + select for cleaner evaluation
- (Optional) add explicit triggers to ensure reliable state updates

Fixes issue where `binary_sensor.family_presence` did not update correctly,
causing presence-based automations to fail.
2026-03-17 16:39:58 +01:00
claus f1967f24cd fixes to get rid of startup messages 2026-03-17 06:59:06 +01:00
claus dde5ff292a fix(template): correct and simplify tesla_charge_now logic
- Convert tesla_charge_now to binary_sensor
- Replace strptime with as_timestamp for robust time parsing
- Fix hour alignment (remove 15-min slot mismatch)
- Implement proper deadline filtering using timestamps
- Simplify template to minimal, readable logic

Result:
- Accurate identification of cheapest charging hours
- Eliminates false negatives in charge scheduling
2026-03-17 06:18:27 +01:00
claus da931bbca6 Make startup happy 2026-03-16 19:38:07 +01:00
claus 8fa4db9d89 fix: add platform to tesla_smart_charge binary sensor and move to templates directory 2026-03-16 18:16:19 +01:00
claus 4a155ad545 feat: implement Tesla smart charging v3 for Zaptec
- Beregner manglende kWh baseret på SOC og charge limit
- Finder de billigste 15-min elspot-timer før deadline
- Starter/stopper opladning via switch.home_charging
- Tilføjer failsafe 1 time før deadline
- Håndterer connected_finished session reset automatisk
- Stopper opladning når charge limit er nået
- Fuld modulopdeling: input_datetime, templates, binary_sensors, automations
2026-03-16 16:51:30 +01:00
claus 7f081cf997 ny fil 2026-03-15 18:57:59 +01:00
claus 74c7577ad7 new templates 2026-03-15 17:43:05 +01:00
claus ada30d47d3 New way to make templates 2026-03-15 17:42:41 +01:00