samsungrac icon indicating copy to clipboard operation
samsungrac copied to clipboard

Configuration.yaml multiple devices samsung 2787

Open petroionut26 opened this issue 4 years ago • 2 comments

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

petroionut26 avatar Sep 01 '20 21:09 petroionut26

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.

atxbyea avatar Sep 25 '20 10:09 atxbyea

[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.

petroionut26 avatar Sep 25 '20 12:09 petroionut26