@property
    def sock(self):
        if self.transport and self.transport.sock:
            return self.transport.sock
Get the Efergy monitor data from the web service.
dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection.sock--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/efergy.py/EfergySensor.update