My goal is to have HA update a Boolean switch to reflect the current status of my security alarm. Without going into too much detail, I can get the security alarm status into a csv file. The last word in the csv file is the current status, which is either:
- armed, or
- disarmed
The problem is I can’t find the newly created sensor, or it’s status in HA. I created the sensor on my configuration.yaml file, using the File platform, and pointed it to the appropriate path (see code below). The config file checks out as “valid”, but after a restart, when I search for the “Alarm Status” sensor, under developer tools → states → entities, nothing shows up.
Can anyone help me figure out what I’m doing wrong?
sensor:
- platform: file
name: Alarm Status
file_path: /config/uivision/alarmstatus.csv