Help accelerating status scanning

I saw this code in the official document, but I tried to add my entity to it, but it didn’t work. How should I write this? I’m a novice. Do you have any specific points

# Example configuration.yaml entry to poll your_lights every 10 seconds.
  - platform: your_lights
    scan_interval: 10

3 posts were merged into an existing topic: Help: How to change the frequency of entity status updates