2ca1f7542f4a77f883bb2afc87e977a66cdc35c4,homeassistant/components/sensor/rfxtrx.py,,,#,20
Before Change
DEPENDENCIES = ["rfxtrx"]
DATA_TYPES = OrderedDict([
("Temperature", TEMP_CELSIUS),
("Humidity", "%"),
("Barometer", ""),
("Wind direction", ""),
("Rain rate", ""),
("Energy usage", "W"),
("Total usage", "W")])
_LOGGER = logging.getLogger(__name__)
DEVICE_SCHEMA = vol.Schema({
vol.Optional(ATTR_NAME, default=None): cv.string,
After Change
_LOGGER = logging.getLogger(__name__)
PLATFORM_SCHEMA = vol.Schema({
vol.Required("platform"): rfxtrx.DOMAIN,
vol.Optional(CONF_DEVICES, default={}): vol.All(dict, rfxtrx.valid_sensor),
vol.Optional(ATTR_AUTOMATIC_ADD, default=False): cv.boolean,
}, extra=vol.ALLOW_EXTRA)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: home-assistant/home-assistant
Commit Name: 2ca1f7542f4a77f883bb2afc87e977a66cdc35c4
Time: 2016-04-24
Author: Daniel.H.Iversen@ntnu.no
File Name: homeassistant/components/sensor/rfxtrx.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: 6a837f3aad157d72cceac4324ff5983e6f174091
Time: 2016-09-06
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/zigbee.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: eec96ea13738fed744f4144ee28e77be0bc49185
Time: 2016-08-30
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/apcupsd.py
Class Name:
Method Name: