Custom sensors's SCAN_INTERVAL not work,who can help me?

I set SCAN_INTERVAL = timedelta(seconds=1) in my custom sensors, but I found the state update in 30seconds,It seems the SCAN_INTERVAL not work? what’s the problem? somebody can help me ? Thank you !!

Post the YAML of your sensor setup. What you are posting is not YAML, so noone will be able to help you.

i have been solve the problem thank you