mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	[fix] Status sensor does not check if required network component is missing (#7734)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -6,6 +6,8 @@ from esphome.const import ( | ||||
|     ENTITY_CATEGORY_DIAGNOSTIC, | ||||
| ) | ||||
|  | ||||
| DEPENDENCIES = ["network"] | ||||
|  | ||||
| status_ns = cg.esphome_ns.namespace("status") | ||||
| StatusBinarySensor = status_ns.class_( | ||||
|     "StatusBinarySensor", binary_sensor.BinarySensor, cg.Component | ||||
|   | ||||
		Reference in New Issue
	
	Block a user