d63028e44af753dd0df2e16273b0aa5e253fc859,homeassistant/components/cover/zwave.py,ZwaveRollershutter,__init__,#ZwaveRollershutter#Any#Any#,40

Before Change



    def __init__(self, values, invert_buttons):
        Initialize the zwave rollershutter.
        ZWaveDeviceEntity.__init__(self, values, DOMAIN)
        // pylint: disable=no-member
        self._open_id = None
        self._close_id = None
        self._current_position = None

After Change


                self._open_id = self.values.close.value_id
                self._close_id = self.values.open.value_id
            else:
                self._open_id = self.values.open.value_id
                self._close_id = self.values.close.value_id

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

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: d63028e44af753dd0df2e16273b0aa5e253fc859
Time: 2017-04-12
Author: turbokongen@hotmail.com
File Name: homeassistant/components/cover/zwave.py
Class Name: ZwaveRollershutter
Method Name: __init__


Project Name: uber/ludwig
Commit Name: c1c98f4a15cdf1be47e2786c49067b4e2ac73fd5
Time: 2020-07-23
Author: w4nderlust@gmail.com
File Name: ludwig/models/modules/combiners.py
Class Name: ConcatCombiner
Method Name: __init__


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 2f3cffca59e6d6efd14444f6fc98713cd5dfa6a7
Time: 2019-05-03
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/core/base.py
Class Name: BaseStreamEstimator
Method Name: reset