pdwonline / youless

Home Assistant custom sensor for youless
2 stars 11 forks source link

two youless sensors #3

Open cm86 opened 5 years ago

cm86 commented 5 years ago

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

but it doesn't seems to be right

huub66 commented 4 years ago

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

cm86 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

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