Raspberry Pi RF Switch Not Showing Up in Dashboard [SOLVED]

Edit: Okay, I just rebooted my Raspberry Pi and now everything is working like it should be.

I followed BRUH Automations’ video here to install the Raspberry Pi RF Switch:

I believe that I have everything set up correctly, but the switches are not showing up my dashboard or entities. I was able to figure out all of the rf signal codes, so I at least know that part is working as it should.

I’ve read that people have tried “sudo adduser hass gpio” to fix some problems, but when I do that, it says “adduser: The user ‘hass’ does not exist.” Also tried tried “sudo adduser homeassistant gpio” and got a similar error. I tried listing all users and this is what I got:
pi@raspberrypi:~ $ cut -d: -f1 /etc/passwd
root
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
proxy
www-data
backup
list
irc
gnats
nobody
systemd-timesync
systemd-network
systemd-resolve
systemd-bus-proxy
pi
messagebus
avahi
ntp
sshd
statd
lightdm
pulse
rtkit

I tried “sudo adduser pi gpio”, but it says, “The user pi' is already a member of gpio’.” I’m not sure if it matters, but my configuration.yaml file is in /var/opt/homeassistant.

I’ve tried restarting Home Assistant multiple times.

I don’t see anything relevant in my .log file. Searched for both “rf” and “switch” and nothing came up.

I checked all my indents.

I tried “gpio readall”, but I’m not sure if this is giving me any useful information:

I tried “hass --script check_config”, but that didn’t give me any info. It says my thermostat is not found, but it is showing up just fine on my dashboard.

Here’s what my configuration looks like:

Edit: Okay, I just rebooted my Raspberry Pi and now everything is working like it should be.