add smarthome_state prefix to states