1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add link to docs, new docstrings, and update docstrings

This commit is contained in:
Fabian Affolter
2016-02-01 11:47:09 +01:00
parent 8de56bc8e2
commit 395743005a
6 changed files with 46 additions and 59 deletions

View File

@@ -1,9 +1,12 @@
"""
homeassistant.components.sensor.zigbee
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Contains functionality to use a ZigBee device as a sensor.
"""
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.zigbee/
"""
import logging
from binascii import hexlify
@@ -36,9 +39,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
class ZigBeeTemperatureSensor(Entity):
"""
Allows usage of an XBee Pro as a temperature sensor.
"""
""" Allows usage of an XBee Pro as a temperature sensor. """
def __init__(self, hass, config):
self._config = config
self._temp = None