0.52.0 - Smoke Detector visual indicators, Entity styles property, hide labels, background opacity tweaks 🚭 🔥
New Features
Smoke Detection Alarm
Added smoke detector support as an alarm feature, similar to occupancy detection, with smoke taking priority over occupancy.
Key Features:
- Smoke Detection: Configure smoke detectors to trigger visual alarms when smoke is detected
- Priority System: Smoke detection automatically takes priority over occupancy detection - when smoke is detected, occupancy indicators are suppressed
- Custom Colors: Smoke detection uses error color (red) by default, but can be customized like occupancy
- Visual Indicators: Card borders and room icons change color when smoke is detected
- Editor Integration: The "Occupancy" tab has been renamed to "Alarm" with expandable sections for both Occupancy and Smoke configuration
Configuration Example:
type: custom:room-summary-card
area: kitchen
occupancy:
entities:
- binary_sensor.kitchen_motion
card_border_color: '#4CAF50' # Green when occupied
smoke:
entities:
- binary_sensor.kitchen_smoke_detector
card_border_color: '#F44336' # Red when smoke detected (takes priority)Editor Changes:
- Renamed "Occupancy" tab to "Alarm" tab
- Added expandable "Occupancy Detection" section
- Added expandable "Smoke Detection" section
- Both sections use the same configuration schema with appropriate entity filters
Documentation:
- Updated Alarm Configuration documentation
- Updated Configuration Guide with smoke detection examples
- Added smoke detection examples to Examples
- chore: bumps version to 0.52.0 by @gh-action-bump-version
- adjustments to background opacity - thanks @devkaiwang! by @warmfire540
- apply styles to entities, hide labels - thanks @Ltek! by @warmfire540
- add smoke detectors similar to occupancy - thanks @Arjan-21! by @warmfire540
What's Changed
- Smoke Detector visual indicators, Entity styles property, hide labels, background opacity tweaks 🚭 🔥 by @warmfire540 in #273
Full Changelog: 0.51.0...0.52.0