Core: Add device condition support to the media_player integration

Created on 27 Sep 2019  路  2Comments  路  Source: home-assistant/core

Add device condition support to the media_player integration.

Device conditions are part of Device Automations, a new concept that was recently launched to make automations more user friendly.

Device automations consist of three different parts: triggers, conditions and conditions. This issue is about the condition part.

To get started with this issue, you will need to set up a Home Assistant development environment. The easiest approach is to get started using a dev container.

Once you have a development environment set up, run the following and follow the instructions:

python3 -m script.scaffold device_condition

_(This issue is part of #26994)_

Hacktoberfest Help wanted

All 2 comments

Hey! I'd like to work on this issue

Cool! Let me know if you run into any issues on getting started. Media Players do a lot of things. For initial device conditions support, you won't need to implement all of them. Just a few to get the foundation in place is a good start 馃憤

Was this page helpful?
0 / 5 - 0 ratings