Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

two youless sensors #3

Open
cm86 opened this issue Jun 25, 2019 · 5 comments
Open

two youless sensors #3

cm86 opened this issue Jun 25, 2019 · 5 comments

Comments

@cm86
Copy link

cm86 commented Jun 25, 2019

Hello i have two ls110
i tried using the name as difference between them, but it's not working
i have just duplicated the config

  • platform: youless
    name: Youless_206
    host: 10.0.0.206
    monitored_variables:
    • pwr
  • platform: youless
    name: Youless_207
    host: 10.0.0.207
    monitored_variables:
    • pwr

but it doesn't seems to be right

@huub66
Copy link

huub66 commented Jul 23, 2020

I have exactly the same issue, has this been resolved somehow or is there a workaround?

@cm86
Copy link
Author

cm86 commented Jul 23, 2020

Hello yes I have a workaround for that...
Just duplicate the custom_components folder of you lead and give it a unique name...
Then place another sensor with the other custom_components name in the config...

My config looks like this...

20200723_135601
20200723_135650

Hope this helps for the first shot...

Mfg
Chris

@huub66
Copy link

huub66 commented Jul 23, 2020

I've tried in the exact same configuration, but only a sensor for youless is created, not for youless_2. Perhaps because I'm using a fork from reharmsen of this integration, will try to address there as well

@cm86
Copy link
Author

cm86 commented Jul 23, 2020

No sorry I have forgotten,
You have to edit the file sensor.py within the youless_2 folder like this...
Screenshot_20200723-184823_FileExplorer
Look at the "domain" and the sensors-prefix...

Mfg Chris

@gjong
Copy link

gjong commented Oct 30, 2020

The problem with multiple devices is fixed once official support is added to Home Asisstant (in pull request home-assistant/core#41942). This will support as many devices as you want natively in Home Assistant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants