f8bdc835f8ae5a54547ef047858538c995a04d1e,homeassistant/components/sensor/forecast.py,ForeCastSensor,update,#ForeCastSensor#,135

Before Change


                self._state = data.summary
            elif self.type == "minutely_summary":
                self._state = data_minutely.summary
            elif self.type == "hourly_summary":
                self._state = data_hourly.summary
            elif self.type == "daily_summary":
                self._state = data_daily.summary
            elif self.type == "icon":
                self._state = data.icon

After Change


                return

            elif self.type == "daily_summary":
                self.forecast_client.update_daily()
                self._state = self.forecast_client.data_daily.summary
                return

        except forecastio.utils.PropertyUnavailable:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: f8bdc835f8ae5a54547ef047858538c995a04d1e
Time: 2016-06-01
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/sensor/forecast.py
Class Name: ForeCastSensor
Method Name: update


Project Name: home-assistant/home-assistant
Commit Name: ced3cd2616332af50bf9a8a4a7241aae017c34e8
Time: 2017-03-16
Author: mezz@johnmihalic.com
File Name: homeassistant/components/sensor/neurio_energy.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 0d93369154c1fe4fdda7ccea8edf8b4ec007b0bd
Time: 2016-06-01
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/sensor/forecast.py
Class Name: ForeCastSensor
Method Name: update