90f9a6bc0ab05ce4f633a4309bde326b16a44bac,homeassistant/components/alarm_control_panel/alarmdecoder.py,AlarmDecoderAlarmPanel,_message_callback,#AlarmDecoderAlarmPanel#Any#,56

Before Change


        else:
            if self._state != STATE_ALARM_DISARMED:
                self._state = STATE_ALARM_DISARMED
                self.hass.async_add_job(self.async_update_ha_state())

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

After Change


        elif message.armed_away:
            if self._state != STATE_ALARM_ARMED_AWAY:
                self._state = STATE_ALARM_ARMED_AWAY
                self.async_schedule_update_ha_state()
        elif message.armed_home:
            if self._state != STATE_ALARM_ARMED_HOME:
                self._state = STATE_ALARM_ARMED_HOME
                self.async_schedule_update_ha_state()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/alarm_control_panel/alarmdecoder.py
Class Name: AlarmDecoderAlarmPanel
Method Name: _message_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/binary_sensor/alarmdecoder.py
Class Name: AlarmDecoderBinarySensor
Method Name: _restore_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/alarm_control_panel/alarmdecoder.py
Class Name: AlarmDecoderAlarmPanel
Method Name: _message_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sensor/envisalink.py
Class Name: EnvisalinkSensor
Method Name: _update_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sensor/mqtt.py
Class Name: MqttSensor
Method Name: value_is_expired


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/binary_sensor/alarmdecoder.py
Class Name: AlarmDecoderBinarySensor
Method Name: _fault_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sensor/time_date.py
Class Name: TimeDateSensor
Method Name: point_in_time_listener


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sensor/alarmdecoder.py
Class Name: AlarmDecoderSensor
Method Name: _message_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sun.py
Class Name: Sun
Method Name: point_in_time_listener


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/binary_sensor/envisalink.py
Class Name: EnvisalinkBinarySensor
Method Name: _update_callback


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sun.py
Class Name: Sun
Method Name: timer_update


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sensor/torque.py
Class Name: TorqueSensor
Method Name: async_on_update


Project Name: home-assistant/home-assistant
Commit Name: 90f9a6bc0ab05ce4f633a4309bde326b16a44bac
Time: 2017-09-12
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/sensor/otp.py
Class Name: TOTPSensor
Method Name: _call_loop