Total guess, but I think you either have a template somewhere with = , > or < in it, so it’s expecting an integer, but it isn’t getting one.
So either you need to add |int to the item it’s being passed if it should be a number, or change = to == if it’s supposed to be saying it is ‘identical to’.
Or, you have a numeric state condition/trigger that is being passed a string.
I have a few notifications based on numeric_state. They are all similar to the example below:
- id: SSL_expire_notify
alias: 'SSL expiry notification'
trigger:
platform: numeric_state
entity_id: sensor.ssl_cert_expiry
below: 21
action:
service: notify.gmail_notify
data:
message: 'Warning - SSL certificate expires in 21 days and has not been automatically renewed'
I changed all of them to be equivalent to changing the number after “below:” to ‘21’ (added single quotes) and still I get the warning. And I have a total of four automations that use the same format but I only get two warnings. So I don’t think it’s from a numeric_state conflict.
I’ve gone through my automations, sensors, scripts, binary sensors & customizations looking for any culprits. I’ve modified anything I even suspected in the slightest that might be causing it. The warning still remains.
It would be nice if there was something that would point more directly to the problem as opposed to some vague unspecified warning.
That’ll remove the warnings.
Not sure why HA warns about this as it seems perfectly correctly written, anyway I had to do this for all my numeric_state triggers and it fixed my issues