Home Assistant release with the issue:
0.90.2
Last working Home Assistant release (if known):
unkown - at 0.82 it didn't seem to be working for me aswell..
Operating environment (Hass.io/Docker/Windows/etc.):
Debian running homeassistant in a virtual environment.
Component/platform:
https://www.home-assistant.io/components/light.rflink/
https://www.home-assistant.io/components/switch.rflink/
( only : https://www.home-assistant.io/components/rflink/ seems to be working)
Description of problem:
The RFLink component seems to run fine and I see all the messages well in my log. But all the platforms I tried so far don't work (light and switch) I get the following error :
'''2019-03-30 13:26:10 ERROR (MainThread) [homeassistant.loader] Unable to find platform rfl矛nk'''
I double checked if rflink.py is available in the light and switch folder and that is the case in the virtual environment.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
light:
- platform: rfl矛nk
automatic_add: true
switch:
- platform: rfl矛nk
devices:
NewKaku_01e81c12_1:
name: "Eettafel"
also while checking config:

Have you configured the rflink platform in your configuration.yaml according to the docs?
https://www.home-assistant.io/components/rflink/
Or maybe related to:
https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html
@javicalle yes the rflink component works perfectly fine and I receive all the signals. Only all the platforms are broken/ I think it might have to do with the great migration, but not sure... Anything I can do or look into to help fix it?
After "great migration" the components folder structure changes to something like
+ rflink
+ _init_.py
+ light.py
+ switch.py
+...
But you said
I double checked if rflink.py is available in the light and switch folder and that is the case in the virtual environment.
And your config validations blames:
After "great migration" must be rflink.switch and rflink.light. I think there is something wrong here.
Can you check that?
here the results @javicalle :
rf link component folder :

Light platform folder :

switch platform folder :

If I understand correctly this is wrong after the big migration than? Weird thing is that on github all these components are placed in the rflink folder as specified : https://github.com/home-assistant/home-assistant/tree/dev/homeassistant/components/rflink
I see you are right. At v0.90.2 the folder structure is as you say:
My HA is Hass.io, and the folder structure is the one I have with rflink components at custom_components (not the official one) hence my mistake.
Do you have any custom_components development for this components?
@javicalle I have no custom_components for RFLink but if you have a custom one that does work than I'm intrested for the mean time!
I do not think it's the solution, there must be some problem somewhere, but if you want to try, you can do the following:
\config\custom_components\rflinkhassio ha check or from the web console) The only configuration that can be diferent will be the logger:. The references to homeassistant.components.rflink must point to custom_components.rflink, for example:
logger:
default: error
logs:
# homeassistant.components.rflink: info
custom_components.rflink: info
custom_components.rflink.light: debug
I think that is the only thing that must be taken into account.
WTF!, I think it's much simpler. You have an accented letter!
Also the validation message point to it.
Check the letter i of rflink
... You are right! I have no idea how that got there since we don't use the accented letter in my langauge anyway... Thank you so much!
Most helpful comment
... You are right! I have no idea how that got there since we don't use the accented letter in my langauge anyway... Thank you so much!