Custom attributes managed by automations

A python_script (such as rodpayne’s set_state.py) can be used to set an entity’s (existing) attribute value. However, the value will not survive a restart.