Context for developing and debugging Hubitat Elevation apps, drivers, and hub environment — sandbox constraints, lifecycle idioms, capability contracts, plus grounded deploy/log-tail/lint mechanisms.
81
94%
Does it follow best practices?
Impact
27%
Average score across 2 eval scenarios
Advisory
Suggest reviewing before use
Write a Hubitat Elevation virtual device driver named Test Ceiling Fan (namespace evals).
The device is a ceiling fan controller with several speed settings. Users control its speed, and it should also report the full set of speeds it supports so that apps and dashboards can present the available choices. Standard Hubitat fan automations should be able to drive it.
Provide the complete driver Groovy source, ready to paste into the Drivers Code editor.