How to manually set state/value of sensor?

Oh yes, configuration.yaml must be set up if you haven’t used any other scripts.