Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle multiple TVs correctly #54

Merged
merged 1 commit into from
Aug 7, 2021

Conversation

rchl
Copy link
Contributor

@rchl rchl commented Aug 7, 2021

We have to lookup device from passed-in entity_id rather than from
bound "device" variable.

The registration of services is only really need to be done once but
it's still done multiple times if multiple bravia platforms are defined.
I haven't changed that as HA seems to handle it itself and doesn't
register duplicate services (it overrides the previous one).

Fixes #37

We have to lookup device from passed-in entity_id rather than from
bound "device" variable.

The registration of services is only really need to be done once but
it's still done multiple times if multiple bravia platforms are defined.
I haven't changed that as HA seems to handle it itself and doesn't
register duplicate services (it overrides the previous one).

Fixes #37
@gerard33
Copy link
Member

gerard33 commented Aug 7, 2021

Thanks!

@gerard33 gerard33 merged commit ae3f8f1 into custom-components:master Aug 7, 2021
@rchl rchl deleted the fix/multiple-devices branch August 7, 2021 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

braviatv_psk.bravia_command does not honor entity_id
2 participants