From 769f5aafb7de83b966676fa28d3f56f03079ae3e Mon Sep 17 00:00:00 2001 From: Ryan Kraus Date: Tue, 12 Jan 2016 01:55:42 -0500 Subject: [PATCH] Added should_poll = False to universal media player --- homeassistant/components/media_player/universal.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/media_player/universal.py b/homeassistant/components/media_player/universal.py index 09687828399..22137170165 100644 --- a/homeassistant/components/media_player/universal.py +++ b/homeassistant/components/media_player/universal.py @@ -191,6 +191,11 @@ class UniversalMediaPlayer(MediaPlayerDevice): self.hass.services.call(DOMAIN, service_name, service_data, blocking=True) + @property + def should_poll(self): + """ Indicates whether HA should poll for updates """ + return False + @property def dependencies(self): """ List of entity ids of entities that the mp depends on for state """