Bug Fixes
- BOOST Switch Availability: Fixed greyed-out BOOST switch for Andris2 devices
- Graceful Property Handling: Use getattr() with default False for missing water_heater_boost property
- Prevents Switch Grey Out: BOOST switch now shows as available even if device property not supported
- Fallback to MODE Dropdown: BOOST mode still accessible via water heater MODE dropdown when device supports it
Technical Details
- Modified get_is_on lambda to use getattr(entity.device, 'water_heater_boost', False)
- Handles missing device properties gracefully without errors
- BOOST functionality available through switch entity or MODE dropdown
Impact
- Fixes issue where BOOST switch appeared greyed out/unavailable
- Maintains BOOST functionality through both UI methods (switch + dropdown)
- Better error handling for devices with varying property support