SO… here is the explaination, and the solution
For a stange reason, I only get the full logs while restarting with the standard “rflink” plugin configuration.
It behaves like if Home Assistant supervisor (in Hass.io ) was checking the config file grammar before restarting the instance, and was then cancelling the restart as it was not able to validate the config…
and as the configuration changes are invalid without the new plugin loaded, it fails !
So, to get the plugin working FOR HASS.IO USERS :
1- follow the rts_rflink plugin installation procedure (i.e copy the 3 files in the expected directory)
2- keep the legacy rflink embedded plugin configuration (i.e. do NOT touch the config for now)
3- click the “restart HA” button… wait a few seconds (or minutes if you run on a small hardware)
4- after the restart, you should have a WARNING entry in the logs :
You are using a custom integration for rts_rflink which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
5- update the configuration to the match the new plugin requirements. (+ I HIGHLY recommend to set the debug flag on custom_components.rts_rflink as follow) :
logger:
default: error
logs:
rflink: debug
homeassistant.components.rflink: debug
custom_components.rts_rflink: debug
6- perform a new ‘HA restart’… wait again…
7- check the logs after the restart, you should now have a trace of the new plugin init :
2020-04-04 21:45:13 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2020-04-04 21:45:13 INFO (MainThread) [homeassistant.components.rflink] Connected to Rflink
2020-04-04 21:45:13 DEBUG (MainThread) [rflink.protocol] connected
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] received data: 20;0
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] received data: 0;Nodo RadioFrequencyLin
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] received data: k - RFLink Gateway V1.1
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] received data: - R48;
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] got packet: 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'unknown', 'hardware': 'Nodo RadioFrequencyLink', 'firmware': 'RFLink Gateway', 'version': '1.1', 'revision': '48'}
2020-04-04 21:45:14 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rflink', 'hardware': 'Nodo RadioFrequencyLink', 'firmware': 'RFLink Gateway', 'version': '1.1', 'revision': '48'}
2020-04-04 21:45:14 DEBUG (MainThread) [homeassistant.components.rflink] event of type unknown: {'id': 'rflink', 'hardware': 'Nodo RadioFrequencyLink', 'firmware': 'RFLink Gateway', 'version': '1.1', 'revision': '48'}
2020-04-04 21:45:14 DEBUG (MainThread) [homeassistant.components.rflink] unhandled event of type: unknown
2020-04-04 21:45:26 DEBUG (MainThread) [custom_components.rts_rflink.cover] async_added_to_hass :: oldState <state cover.somfybureau=open; assumed_state=True, friendly_name=SomfyBureau, supported_features=11 @ 2020-04-04T21:32:28.863732+02:00>
the last line should be printed for each cover configuration
8- enjoy
So the strange behavior was only caused by some preventive checks on the configuration.
(the Hass.io should be more verbose about this behavior, like a popup warning “could not restart HA instance due to inconsistent configuration”…)