The following is my code. Was this functionality removed in the new version? How should I continue using this entity, or how can I re-add it?
sensor:
- platform: command_line
name: 123
command: python3 ./config/scripts/custom_script.py
scan_interval: 20
value_template: '{{ value }}'