I have 4 MyStrom Switches and want them add to HA. I followed the explenations on https://www.home-assistant.io/integrations/mystrom/#switch, first I got too entities. After creating a seperate yaml file for the mystroms switches and using the secret file, I get alway an error in the HA log:
configuration.yaml
mystrom: !include mystrom.yaml
mystrom.yaml
#Configuration MyStrom
switch:
- platform: mystrom
host: !secret mystrom_switch4
secrets.yaml
#MyStrom
mystrom_switch4: 192.168.1.62
When I put this code back in configuartion.yaml, the entity is created.
#Configuration MyStrom
switch:
- platform: mystrom
host: !secret mystrom_switch4
So it have to be something with the file mystrom.yaml…
Anyone who have a solution?