Skip to content

Added 'all_plants' group and support for plant groups state.#8063

Merged
balloob merged 2 commits into
home-assistant:devfrom
aronsky:add-all-plants-group
Jun 17, 2017
Merged

Added 'all_plants' group and support for plant groups state.#8063
balloob merged 2 commits into
home-assistant:devfrom
aronsky:add-all-plants-group

Conversation

@aronsky
Copy link
Copy Markdown
Contributor

@aronsky aronsky commented Jun 16, 2017

Description:

Like switches, lights, and devices, plants deserve a group of their own! Here, I added the group all_plants, using EntityComponent's built-in functionality.

Additionally, I created the STATE_OK and STATE_PROBLEM states, and introduced them into the group component - so that a group of plants can show the STATE_PROBLEM state whenever one of its plants has a problem. Great for automations!

Checklist:

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@balloob balloob added this to the 0.47 milestone Jun 17, 2017
@balloob balloob merged commit 2ba6b3a into home-assistant:dev Jun 17, 2017
@balloob
Copy link
Copy Markdown
Member

balloob commented Jun 17, 2017

Cherry-picked for 0.47

balloob pushed a commit that referenced this pull request Jun 17, 2017
* Added 'all_plants' group and support for plant groups state.

* Reversed the group states.
@balloob balloob mentioned this pull request Jun 17, 2017
@aronsky aronsky deleted the add-all-plants-group branch June 18, 2017 06:01
@balloob balloob mentioned this pull request Jul 1, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants