Add entities for ZHA fan groups (#33291)

* start of fan groups

* update fan classes

* update group entity domains

* add set speed

* update discovery for multiple entities for groups

* add fan group entity tests

* cleanup const

* cleanup entity_domain usage

* remove bad super call

* remove bad update line

* fix set speed on fan group

* change comparison

* pythonic list

* discovery guards

* Update homeassistant/components/zha/core/discovery.py

Co-Authored-By: Alexei Chetroi <lexoid@gmail.com>

Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
This commit is contained in:
David F. MulcaheyandAlexei Chetroi authored and GitHub committed 2020-03-26 22:19:48 -04:00
1 parent c89975adf6
commit 4f767dd3ef
11 files changed
+316 -188

No files matched your search

-1
View File
@@ -173,7 +173,6 @@ async def async_test_zha_group_switch_entity(
await hass.async_block_till_done()
assert zha_group is not None
assert zha_group.entity_domain == DOMAIN
assert len(zha_group.members) == 2
for member in zha_group.members:
assert member.ieee in member_ieee_addresses