question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include and Exclude problems

See original GitHub issue

Describe the bug First of all, include and exclude are more than welcome! Prefer this over the disabling in UI, because I have a lot of decives, which are found via alexa media player, but not working (e.g. all the Sonos tuples, …) and other devices, which I do not want to have in HA. So great to have include and exlcude!

  1. If I use include during setup and include either “Echo Dot Wohnzimmer” oder Echo Dot Wohnzimmer without “”, the setup creates “Echo Dot Wohnzimmer”, but my other device called “Wohnzimmer” as well. This is only not happening, if I exclude “Wohnzimmer” on top.

  2. If I include only “Echo Dot Whatever”, the integration only set up the entity/device “Echo Dot Whatever”, but not the alarm, timer, … entities. Bug or feature? What can I do, that the corresponding entities are set up as well?

To Reproduce Use include and exclude during setup.

Expected behavior ad 1., If I include only “Echo Dot Wohnzimmer”, it should create only "“Echo Dot Wohnzimmer” (with corresponding additional entities) and not the other device called “Wohnzimmer” as well.

ad 2. If I include “Echo Dot Whatever”, it should create this, but the corresponding additional entities as well.

System details

  • Home-assistant (version): 2021.8.2
  • Hassio (Yes/No): Yes
  • alexa_media (version from const.py or HA startup): Do not know how to find
  • alexapy (version from pip show alexapy or HA startup): Do not know how to find
  • Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: y

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
mbcomercommented, Oct 13, 2021

I can confirm that the include behavior is not quite right. My Alexa account has a number of Sonos devices configured which I do not want to show up under this integration (I use the Sonos integration) so I setup includes for my two Alexa devices. One is called “Den Spot” and the other is called “Echo Upstairs”. Using these two includes, I get THREE devices from the integration - “Den Spot” (correct), “Echo Upstairs” (correct) and “Den” (not correct, this is a Sonos home theater device consisting of a sound bar, surrounds, and sub. I don’t want this device included.

0reactions
github-actions[bot]commented, Mar 28, 2022

The issue has received no activity for 60 days and will be closed in a week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inclusion-Exclusion Principle: Examples with Solutions
In this article, we will discuss several inclusion-exclusion principle examples and solutions for both these types. Venn diagrams, although not ...
Read more >
Inclusion-Exclusion Practice Problems | Math - HackerEarth
Solve practice problems for Inclusion-Exclusion to test your programming skills. Also go through detailed tutorials to improve your understanding to the ...
Read more >
The Inclusion-Exclusion Principle - CP-Algorithms
The inclusion-exclusion principle can be expressed as follows: ... note that we have essentially the same combinatorial problem that was ...
Read more >
Principle of Inclusion and Exclusion and Derangement - Byju's
This article will help you to solve problems related to the Principle of Inclusion and ... We have included A and B and...
Read more >
Inclusion–exclusion principle - Wikipedia
Generalizing the results of these examples gives the principle of inclusion–exclusion. To find the cardinality of the union of n sets: Include the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found