mirror of
				https://github.com/home-assistant/core.git
				synced 2025-11-04 00:19:31 +00:00 
			
		
		
		
	Fix PEP257 issues
This commit is contained in:
		@@ -17,7 +17,9 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
 | 
			
		||||
 | 
			
		||||
class DemoBinarySensor(BinarySensorDevice):
 | 
			
		||||
    """A Demo binary sensor."""
 | 
			
		||||
 | 
			
		||||
    def __init__(self, name, state, sensor_class):
 | 
			
		||||
        """Initialize the demo sensor."""
 | 
			
		||||
        self._name = name
 | 
			
		||||
        self._state = state
 | 
			
		||||
        self._sensor_type = sensor_class
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user