df598544d6f5a72e7c951872cc5930d01d60ea62,homeassistant/components/netatmo/sensor.py,,setup_platform,#Any#Any#Any#Any#,67

Before Change


    except pyatmo.NoDevice:
        return None

    add_entities(dev, True)


class NetAtmoSensor(Entity):
    Implementation of a Netatmo sensor.

After Change


    else:
        auto_config(netatmo, config, dev)

    if dev:
        add_entities(dev, True)


def manual_config(netatmo, config, dev):
    Handle manual configuration.
    import pyatmo
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: df598544d6f5a72e7c951872cc5930d01d60ea62
Time: 2019-02-17
Author: msvinth@yahoo.com
File Name: homeassistant/components/netatmo/sensor.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: bd6a17a3a5104659534e8a58c4fc819a7b40f6cf
Time: 2017-12-03
Author: ward.craig.j@gmail.com
File Name: homeassistant/components/dominos.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: d4e603cc6a2f3d3200bd1de87c56627fedf0df71
Time: 2017-12-03
Author: ward.craig.j@gmail.com
File Name: homeassistant/components/dominos.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: 96735e41af21e923eebafddb949af9042a79f73f
Time: 2019-04-24
Author: 508289+bdurrer@users.noreply.github.com
File Name: homeassistant/components/enocean/sensor.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: ab8c127a4a466f2c137239c0eb06c8143adea106
Time: 2018-11-18
Author: JeffLIrion@users.noreply.github.com
File Name: homeassistant/components/media_player/firetv.py
Class Name:
Method Name: setup_platform