@property
    def volume_level(self):
        """Volume level of the media player (0..1)."""
        volume = 0
        try:
            volume = self._remote.get_volume() / 100
            self._state = STATE_ON
        except (socket.timeout, TimeoutError, __HOLE__):
            self._state = STATE_OFF
        return volume
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/panasonic_viera.py/PanasonicVieraTVDevice.volume_level