Receiving unwanted state alerts on a down device

On a Cisco 3850 switch, we have one power supply plugged into a UPS and a second power supply plugged into the wall. We lost power and started receiving state alerts on the wall power supply. A short time later, the UPS ran out of power and the device went down.

I would expect that LibreNMS would stop complaining about the power supply and just send alerts for the device however I was receiving state alerts too. Are my expectations incorrect? I’m using the built in rules.

Here’s the alert:
Alert for device xxxxxxx - State Sensor Critical
Severity: critical
Timestamp: 2020-11-01 14:00:32
Unique-ID: 4528
Rule: State Sensor Critical Faults:
#1: sysObjectID = .1.3.6.1.4.1.9.1.1745; sysDescr = Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.6.5, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright © 1986-2018 by Cisco Systems, Inc.
Compiled Mon 10-Dec-18 11:34; location_id = 33; sensor_id = 1187; sensor_oid = .1.3.6.1.4.1.9.9.117.1.1.2.1.2.1016; sensor_descr = Switch 1 - Power Supply B; state_descr = off (other); Alert sent to:

Here’s the alert rule:
SELECT * FROM devices,sensors,sensors_to_state_indexes,state_indexes,state_translations WHERE (devices.device_id = ? AND devices.device_id = sensors.device_id AND sensors.sensor_id = sensors_to_state_indexes.sensor_id AND sensors_to_state_indexes.state_index_id = state_indexes.state_index_id AND state_indexes.state_index_id = state_translations.state_index_id) AND (sensors.sensor_current = state_translations.state_value && state_translations.state_generic_value = 2) = 1 AND sensors.sensor_alert = 1

====================================

Component Version
LibreNMS 1.68-80-g9797be367
DB Schema 2020_10_21_124101_allow_nullable_ospf_columns (187)
PHP 7.4.3
Python 3.8.5
MySQL 10.3.25-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 1.10.17
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct