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

Configuration.yaml multiple devices samsung 2787 #23

Open
petroionut26 opened this issue Sep 1, 2020 · 2 comments
Open

Configuration.yaml multiple devices samsung 2787 #23

petroionut26 opened this issue Sep 1, 2020 · 2 comments

Comments

@petroionut26
Copy link

Hy, i added 2 devices in my configuration.yaml, but i only see AC Living Room in my HA, what can i do to control the other one? Thanks alot.

climate:
platform: climate_ip
config_file: ‘/config/custom_components/climate_ip/samsungroom.yaml’
ip_address: …
token: …
mac: …
name: ‘AC BedRoom’
poll: True
debug: true

platform: climate_ip
config_file: ‘/config/custom_components/climate_ip/samsungliving.yaml’
ip_address: …
token: …
mac: …
name: ‘AC Living Room’
poll: True
debug: true

@atxbyea
Copy link
Contributor

atxbyea commented Sep 25, 2020

The easiest way is to create two different custom_components, extract the component to "climate_room" and "climate_living" in your "custom_components" folder.
Then setup as normal.

@petroionut26
Copy link
Author

[homeassistant.util.yaml.loader]yaml file /config/configuration.yaml contains duplicate key "platform" and "config_file" and the rest, anything i do, same problem, can you help me with an example of good configuration of configuration.yaml? Thanks alot.

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

No branches or pull requests

2 participants