57d119a7fe4296a1bb06e380d76fd8f97ddef443,homeassistant/components/lcn/sensor.py,LcnLedLogicSensor,async_added_to_hass,#LcnLedLogicSensor#,99

Before Change


    async def async_added_to_hass(self):
        Run when entity about to be added to hass.
        await super().async_added_to_hass()
        if not self.device_connection.is_group:
            await self.device_connection.activate_status_request_handler(self.source)

    @property
    def state(self):
        Return the state of the entity.
        return self._value

After Change


    async def async_added_to_hass(self):
        Run when entity about to be added to hass.
        await super().async_added_to_hass()
        await self.device_connection.activate_status_request_handler(self.source)

    @property
    def state(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: home-assistant/home-assistant
Commit Name: 57d119a7fe4296a1bb06e380d76fd8f97ddef443
Time: 2021-01-06
Author: git@frenck.dev
File Name: homeassistant/components/lcn/sensor.py
Class Name: LcnLedLogicSensor
Method Name: async_added_to_hass


Project Name: home-assistant/home-assistant
Commit Name: 57d119a7fe4296a1bb06e380d76fd8f97ddef443
Time: 2021-01-06
Author: git@frenck.dev
File Name: homeassistant/components/lcn/sensor.py
Class Name: LcnVariableSensor
Method Name: async_added_to_hass


Project Name: home-assistant/home-assistant
Commit Name: 6de882498000f40be303b487e5c943811de6fc6a
Time: 2021-01-06
Author: git@frenck.dev
File Name: homeassistant/components/lcn/sensor.py
Class Name: LcnLedLogicSensor
Method Name: async_added_to_hass


Project Name: home-assistant/home-assistant
Commit Name: 6de882498000f40be303b487e5c943811de6fc6a
Time: 2021-01-06
Author: git@frenck.dev
File Name: homeassistant/components/lcn/sensor.py
Class Name: LcnVariableSensor
Method Name: async_added_to_hass