I’ve checked indentation, even with yamllint. Ensured auth is ok. But still the same error:
2020-04-05 14:17:24 ERROR (MainThread) [homeassistant.config] Invalid config for [switch]: required key not provided @ data['platform']. Got None. (See /config/switch.yaml, line 1). Please check the docs at https://www.home-assistant.io/integrations/switch
After googling, ensuring all params…still can’t figure out .
If you have created a file called switch.yaml (for configuring all switches) then you should not include switch: as the first line in the file. Remove it.
Thank you so much ! I was sure I already tried that. This made get onto next error
* Invalid config for [switch.rest]: [authentication] is an invalid option for [switch.rest]. Check: switch.rest->authentication. (See /config/switch.yaml, line 0). Please check the docs at https://www.home-assistant.io/integrations/rest
Actually I have my Shelly1 ones protected by passwd, and I saw in the official doc that authentication was possible. Indentation problem ?