Make name of example clearly an example (#654)

So that when this shows up in the dashboard it is a sample and not a real device.
This commit is contained in:
clach04 2016-07-19 12:43:21 -07:00 committed by Fabian Affolter
parent 9072bac0ba
commit 14edd83418

View File

@ -37,7 +37,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
class ExampleSensor(Entity):
@property
def name(self):
return 'Temperature'
return 'Example Temperature'
@property
def state(self):