RF switch not working with HA 0.55.0 on Pi

Hi,

Iam trying to get RF switch outlets with HA 0.55.0. when I toggle the switch on/off the outlet turns on/off. With rasbian I made sure it was working on the Pi with the command line. with Home Assisstant I can not install git somehow.

The configurations are:
switch:

  • platform: rpi_rf
    gpio: 17
    switches:
    living_room_light:
    code_on: 70963
    code_off: 70972

Can anyone help?