2023-10-07 21:00:06.391 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error in 'Home Assistant Server- notify if CPU states are too high' trigger: In 'numeric_state' condition: entity sensor.processor_use state '' cannot be processed as a number
The sensor.processor_use entity is a number, it’s a percentage.
I’m attempting to use this sensor in an automation using a numeric state trigger to let me know if the processor is staying over 85%. Any idea why I’m getting that error?
alias: Home Assistant Server- notify if CPU states are too high
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.processor_use
for:
hours: 0
minutes: 1
seconds: 0
above: 85
value_template: ""
- platform: numeric_state
entity_id: sensor.cpu_temperature
for:
hours: 0
minutes: 1
seconds: 0
above: 150
value_template: ""
condition: []
action:
- service: notify.mobile_app_brad_s_s23_ultra
data:
message: >-
The Home Assistant {{trigger.to_state.attributes.friendly_name}} is out
of range. Current state is {{ trigger.to_state.state }}
mode: single