Display person component as occupancy sensor HomeKit (#23451)
This commit is contained in:
parent
37badbbf09
commit
54c34bb224
2 changed files with 2 additions and 1 deletions
|
@ -105,6 +105,7 @@ def test_type_covers(type_name, entity_id, state, attrs):
|
|||
('BinarySensor', 'binary_sensor.opening', 'on',
|
||||
{ATTR_DEVICE_CLASS: 'opening'}),
|
||||
('BinarySensor', 'device_tracker.someone', 'not_home', {}),
|
||||
('BinarySensor', 'person.someone', 'home', {}),
|
||||
('AirQualitySensor', 'sensor.air_quality_pm25', '40', {}),
|
||||
('AirQualitySensor', 'sensor.air_quality', '40',
|
||||
{ATTR_DEVICE_CLASS: 'pm25'}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue