I’m getting this ominous error message in the core logs:
ValueError: sensor: sensor.outdoor_motion_sensor_manual_motion_re_trigger_time_setting has a unit of measurement and thus indicating it has a numeric value, it has the non-numeric device class: enum
The yaml from Settings–>Tools–>States
I deleted it, disconnected it from z-wave, factory reset, restarted HA, restarted the virtual machine and otherwise spent a couple of hours thrashing. Eventually I got it connected again.