74022a39782d4251d30b9942b566fb0eca8d67c1,homeassistant/components/sensor/rfxtrx.py,,,#,20

Before Change



DEVICE_SCHEMA = vol.Schema({
    vol.Optional(ATTR_NAME, default=None): cv.string,
    vol.Required(ATTR_PACKETID): rfxtrx.validate_packetid,
    vol.Optional(ATTR_DATA_TYPE, default=None):
        vol.In(list(DATA_TYPES.keys())),
})

After Change


DEVICE_SCHEMA = vol.Schema({
    vol.Optional(ATTR_NAME, default=None): cv.string,
    vol.Optional(ATTR_DATA_TYPE, default=[]):
        vol.All(cv.ensure_list, [vol.In(DATA_TYPES.keys())]),
})

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 74022a39782d4251d30b9942b566fb0eca8d67c1
Time: 2016-04-23
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: dd4611064f907b567f4865219ddc8c0a96ddfd7d
Time: 2016-09-12
Author: pohl@physik.uni-bonn.de
File Name: homeassistant/components/pilight.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 0ea81c1269478774da679a8eba0995b1736f72dd
Time: 2017-02-03
Author: joeboyc2@gmail.com
File Name: homeassistant/components/light/hyperion.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: a08539d88d7f15ecc9a0435ecd84d1c2861b83dd
Time: 2017-03-02
Author: fracoisma@hotmail.com
File Name: homeassistant/components/switch/rpi_rf.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: f7380dc9272605fb62c3ac41cde71af007df93b8
Time: 2017-11-30
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/tellstick.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 6959407dfdf726edd8488dec39830c1d657cdd4d
Time: 2016-09-12
Author: pohl@physik.uni-bonn.de
File Name: homeassistant/components/pilight.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 646eaccd4d569b3a057f84d7fec7ec270dbc6ad8
Time: 2016-10-01
Author: me@robbiet.us
File Name: homeassistant/components/notify/__init__.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: e5af126fae17de0324912c2409175c5ab345f6ab
Time: 2016-09-21
Author: pohl@physik.uni-bonn.de
File Name: homeassistant/components/pilight.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 51bdd06d1f075169282dc44eef7689a16ee52d31
Time: 2018-04-12
Author: bit.asaf@gmail.com
File Name: homeassistant/components/notify/clicksend.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 0ea9d935afc56fd9b0b7cdd8a38be2f4229f898b
Time: 2017-02-02
Author: me@benvm.be
File Name: homeassistant/components/modbus.py
Class Name:
Method Name: