Getting error (The GPIO channel has not been set up as an OUTPUT )

running Manual installation on a Raspberry Pi in a Virtual Environment

RuntimeError: The GPIO channel has not been set up as an OUTPUT

Did you find a solution for this?

I can reload Raspberry PI GPIO entities but after a reboot, I get the same error.

Me too recently started getting the same error.
Any solutions.

i just upgraded HA from 0.85 to lastest version and now i am getting same error “GPIO channel has not been set up as an OUTPUT”.

I test gpio from putty console, and it works,

and i can put it all in Output mode and then state appears ok in HA instantly, however i can t switch it using HA buttons.
then i try restarting HA, but each time I restart all GPIO change to “imput” mode again, and i dont know why :frowning:

i just comprobed to disable autorun of HA.
when I reboot raspberry, system charges the GPIO that i selected in output mode correctly.
when I start homeassistant service. ALL GPIO changes to imput mode.

anyone knows what process is converting GPIOs mode?
there is any config in HA for this change happens¿
is possible to call for execute again the file with the script from HA.?

thanks