80c187f8ea188ea3e63fd8e093ecf4284e1916c2,homeassistant/components/sensor/verisure.py,VerisureThermometer,name,#VerisureThermometer#,58

Before Change


    @property
    def name(self):
        Return the name of the device.
        return "{} {}".format(
            hub.climate_status[self._id].location, "Temperature")

    @property
    def state(self):
        Return the state of the device.

After Change


    @property
    def name(self):
        Return the name of the device.
        return hub.get_first(
            "$.climateValues[?(@.deviceLabel=="%s")].deviceArea",
            self._device_label) + " temperature"

    @property
    def state(self):
        Return the state of the device.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: home-assistant/home-assistant
Commit Name: 80c187f8ea188ea3e63fd8e093ecf4284e1916c2
Time: 2017-06-26
Author: per.j.sandstrom@gmail.com
File Name: homeassistant/components/sensor/verisure.py
Class Name: VerisureThermometer
Method Name: name


Project Name: home-assistant/home-assistant
Commit Name: 80c187f8ea188ea3e63fd8e093ecf4284e1916c2
Time: 2017-06-26
Author: per.j.sandstrom@gmail.com
File Name: homeassistant/components/sensor/verisure.py
Class Name: VerisureHygrometer
Method Name: name


Project Name: home-assistant/home-assistant
Commit Name: 80c187f8ea188ea3e63fd8e093ecf4284e1916c2
Time: 2017-06-26
Author: per.j.sandstrom@gmail.com
File Name: homeassistant/components/sensor/verisure.py
Class Name: VerisureMouseDetection
Method Name: name