Rpi_gpio not working with HA 0.114.4

Hi all,
due to corruption on my SSD HHD, I’ve re-installed HA core on a new SD card with latest available release: 0.114.4… and rpi_gpio integration seems not working.
I’ve defined a switch within a package to control a fan for CPU temperature but I cannot find the switch in the list of entities.
Here is the package:

##################################################################
#  switch controlling RPi GPIO 27 connected to "gnd" of the fan  #
switch:
  - platform: rpi_gpio
    ports:
      27: fan x735
#################################################################


########################################################
#  thermostat to control RPi  temperature via a dedicated fan        #
climate:
  - platform: generic_thermostat
    name: fan x735
    heater: switch.fan_x735
    target_sensor: sensor.rpi_cpu_temp
    min_temp: 40
    max_temp: 80
    ac_mode: true
    target_temp: 50
    cold_tolerance: 0.5
    hot_tolerance: 5
    min_cycle_duration:
      seconds: 60
    keep_alive:
      minutes: 5
    initial_hvac_mode: "cool"
########################################################

and the list of entities for “fan”

I also tried to define an other switch sensor or binary sensor directly into configuration.yaml and I have same result: nothing!

any help?

thanks

here is the error in log: it says “not running on RPi!”…

2020-09-08 16:18:08 ERROR (MainThread) [homeassistant.components.switch] Error while setting up rpi_gpio platform for switch
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 184, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/rpi_gpio/switch.py", line 37, in setup_platform
    switches.append(RPiGPIOSwitch(name, port, invert_logic))
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/rpi_gpio/switch.py", line 50, in __init__
    rpi_gpio.setup_output(self._port)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/rpi_gpio/__init__.py", line 31, in setup_output
    GPIO.setup(port, GPIO.OUT)
RuntimeError: Not running on a RPi!

I’m guessing you installed the 64bit image. Only the 32bit image supports GPIO. At least that was the case, not sure if it ever got resolved:

Hi Tom,
I have raspbian lite 32-bit version (armv71) and Ifollowed instructions here.

Then I guessed wrong and that is not your issue.

but still I have the issue…

Well, you are not alone even though my set -up is slightly different.
My HA is on a RPi3 with a PiFace card.
Five of the eight input are connected to magnetic sensors.
Everything was working fine till a couple of days ago then I had to unplug the RPi for house works.
Today I started again the RPi but the magnetic contact are not monitored anymore, meaning, I can open or close the doors but the status in HA remains unchanged to the last status fo some days ago.
At that time the version of HA was 0.113.x (can’t remeber what the x was.
I tried to update to the last version 0.115.6 and the problem is still there.
To complete the picture, the two output relay on the PiFace
Definition are as follows:
Well, you are not alone even though my set -up is slightly different.
My HA is on a RPi3 with a PiFace card.
Five of the eight input are connected to magnetic sensors.
Everything was working fine till a couple of days ago then I had to unplug the RPi for house works.
Today I started again the RPi but the magnetic contact are not monitored anymore, meaning, I can open or close the doors but the status in HA remains unchanged to the last status fo some days ago.
At that time the version of HA was 0.113.x (can’t remeber what the x was.
The definition is as follows:

binary_sensor:
  - platform: rpi_pfio
    ports:
      0:
        name: Living Room Magnetic Contact
        settle_time: 20
        invert_logic: true
      1:
        name: Guest Room Magnetic Contact
        settle_time: 20
        invert_logic: true
      2:
        name: Bathroom Magnetic Contact
        settle_time: 50
        invert_logic: true
      3:
        name: Kitchen Magnetic Contact
        settle_time: 50
        invert_logic: true
      4:
        name: Entrance Door
        settle_time: 50
        invert_logic: true
switch:
  - platform: rpi_pfio
    ports:
      0:
        name: Buzzer
      1:
        name: Siren'