Commit Graph

299 Commits

Author SHA1 Message Date
claus 40c78ed6af numeric opvasker 2026-03-25 07:15:29 +01:00
claus c91e669761 tesla 2026-03-24 20:45:05 +01:00
claus 98df2da6f9 feat(dashboard): Full Pro SnowyWhite Tesla Lovelace view
- Implemented numeric template sensors for battery, range, charging rate, energy added, and charging state
- Added gauges for battery and range
- Added tiles for charging status, rate, energy, charger power, and time to full charge
- Added Start/Stop charging buttons
- Added history-graph timeline for charging
- Added sections for doors & locks, temperature, arrival info, and maintenance/alerts
- Fully compatible with standard Lovelace (no Dwains Dashboard dependencies)
2026-03-24 20:44:38 +01:00
claus 04e89907cc støvsuger 2026-03-24 19:32:51 +01:00
claus 14548f9509 Fix: Replace roborock-map-card with static xiaomi-vacuum-map-card image
- Removed roborock-map-card causing calibration errors
- Use image.roborock_s8_pro_ultra_map_0 as a static map
- Keep vacuum status, mop, and automations functional
- Avoids "invalid calibration" errors while preserving dashboard functionality
2026-03-24 19:32:32 +01: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 6b6b69b766 vacation 2026-03-24 18:24:27 +01:00
claus cbeb832dd7 presence simulation 2026-03-24 18:22:52 +01:00
claus e542dc17c0 map 2026-03-24 18:21:56 +01:00
claus f81430d576 fix 2026-03-24 18:21:27 +01:00
claus 75928671d1 vacation 2026-03-24 18:21:13 +01:00
claus 6074dcac98 modules fixed 2026-03-24 18:20:47 +01:00
claus c979cdbf99 clean up inclusions 2026-03-24 18:20:17 +01:00
claus c60aa24576 tune 2026-03-22 20:02:40 +01:00
claus f525ad040c version 2026-03-22 20:02:20 +01:00
claus 9a8f714035 lovelace 2026-03-22 20:02:04 +01:00
claus 2a3dac5be8 slet 2026-03-22 20:01:52 +01:00
claus 7d7eab9124 added resource 2026-03-22 20:01:24 +01:00
claus 397a3dea2d first 2026-03-22 20:00:15 +01:00
claus 0ff5b8727a first 2026-03-22 20:00:03 +01:00
claus 452f33ab62 first 2026-03-22 19:59:46 +01:00
claus 39e02fd52b daniel 2026-03-22 19:59:20 +01:00
claus f860e4f772 flyttet renovation 2026-03-22 19:38:04 +01:00
claus 1ee025df19 dashboard 2026-03-22 19:33:15 +01:00
claus 78db8c7ca7 fixed map 2026-03-22 19:31:20 +01:00
claus d751874a66 new 2026-03-22 19:20:39 +01:00
claus 81a2165fa4 dash 2026-03-22 18:31:28 +01:00
claus 5b3df9b044 new dash 2026-03-22 18:31:11 +01:00
claus 4484b376d6 new dash 2026-03-22 18:30:32 +01:00
claus 55d36e2f28 new dash 2026-03-22 18:30:16 +01:00
claus 6f9dabbf9f new dash 2026-03-22 18:29:59 +01:00
claus 8354450e96 new dashboard 2026-03-22 18:29:42 +01:00
claus 96989411f7 feat(vacuum): Tilføj komplet Roborock view med historik og automations
- Oversigt over Roborock status, fejl og rengøring i gang
- Visning af kort over huset via camera entity
- Rum-specifikke start-knapper (Køkken/Bryggers, Syd, Mop)
- Historik-graf for de sidste 24 timer
- Automations-knapper: Rengør hele huset, Start mop, Stop
- Dock-fejlindikator
- Mobil- og desktop-optimeret grid-layout
2026-03-22 18:28:47 +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 1dc0866fe3 Nu virker det 2026-03-22 07:49:16 +01:00
claus 5e368938bc tilpasset 2026-03-22 07:48:54 +01:00
claus 18c6b5e4cb feat(tesla): automate charge deadline to next morning
- Add daily automation to set tesla_charge_deadline at 07:00 next day (13:05 trigger)
- Add automation to update deadline when car is plugged in
- Ensures smart charging always has valid future window
- Eliminates manual deadline management
2026-03-22 07:48:31 +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 70b78b6275 Improve garage closing logic using vehicle activity
- Only close garage when vehicle tracker is active (speed available)
- Prevents closing when leaving on foot or bike
- Add delay to ensure safe closing after departure
- Align closing logic with car-based opening conditions
2026-03-20 16:31:58 +01:00
claus 3d988314aa Use vehicle speed attribute to control garage opening
- Only open garage if SnowyWhite tracker has valid speed attribute
- Prevents false triggers when car is asleep (speed = unknown)
- Ensures garage opens only when arriving by car, not bike or foot
2026-03-20 07:27:35 +01:00
claus 1e71bc5372 feat(roborock): add mobile notifications for cleaning start, stop, and failure
- Send push notification on successful auto-start of cleaning
- Include elapsed empty-house time in start notification
- Add failure notification if robot fails to start after retries
- Notify when cleaning is stopped due to someone arriving home
- Ensure notifications only trigger on actual state outcomes (not attempts)
2026-03-19 19:02:05 +01:00
claus 81d9022052 identering 2026-03-19 17:21:41 +01:00
claus 1dfc634d9c Fix garage automation triggers and improve presence handling
- Update leaving trigger to fire on any transition from "home" (not just to "not_home")
- Handle zone-based states (e.g. Arbeit, Dybbroparken) correctly
- Relax SnowyWhite tracker condition to allow non-"not_home" states (fixes blocking on "unknown")
- Improve reliability of presence-based garage control
2026-03-19 16:29:19 +01:00
claus 734bbe9ad6 changed max 2026-03-19 14:56:16 +01:00
claus 2ec90e316b add helper 2026-03-19 14:55:54 +01:00
claus 8c1dded88e feat(roborock): make smart cleaning automation robust and deterministic
- Replace fragile `for:` trigger with timestamp-based empty-house logic
- Add input_datetime to track when house became empty
- Introduce time_pattern polling (every 5 min) to avoid missed triggers
- Add retry mechanism (up to 3 attempts) for starting cleaning
- Improve vacuum state handling (docked/idle/charging)
- Add race-safe stop automation when someone returns home
- Split logic into dedicated automations (tracking, reset, start, stop)
- Ensure daily run limit via input_number

Fixes issue where cleaning was not triggered due to presence sensor flapping/unavailable states.
2026-03-19 14:55:24 +01:00
claus ed6a67b7af oprydning 2026-03-19 07:00:15 +01:00
claus 290b0aa373 Update garage automation to use device_tracker and add notifications
- Replace sensor.claus_distance_home with device_tracker.clausiphone (home/not_home)
- Change triggers from numeric_state to state-based presence detection
- Adjust active time window to 05:00–23:00
- Add push notifications to mobile_app_clausiphone15 on garage open/close
2026-03-19 06:59:52 +01:00