Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Commit 7609c3a

Browse files
pnbrucknerludeeus
authored andcommitted
Add now parameter to cache_versions methods (#46)
* Add now parameter to cache_versions methods * Version bump
1 parent 886c032 commit 7609c3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

custom_components/custom_updater.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import homeassistant.helpers.config_validation as cv
1111
from homeassistant.helpers.event import track_time_interval
1212

13-
VERSION = '3.1.5'
13+
VERSION = '3.1.6'
1414

1515
_LOGGER = logging.getLogger(__name__)
1616

@@ -133,7 +133,7 @@ def __init__(self, hass, conf_hide_sensor, conf_card_urls,
133133
self.show_installable = config_show_installable
134134
self.cache_versions()
135135

136-
def cache_versions(self):
136+
def cache_versions(self, now=None):
137137
"""Cache."""
138138
information = self.pyupdate.get_sensor_data(self.ha_conf_dir,
139139
self.show_installable,
@@ -175,7 +175,7 @@ def __init__(self, hass, conf_hide_sensor, conf_component_urls,
175175
self.show_installable = config_show_installable
176176
self.cache_versions()
177177

178-
def cache_versions(self):
178+
def cache_versions(self, now=None):
179179
"""Cache."""
180180
information = self.pyupdate.get_sensor_data(self.ha_conf_dir,
181181
self.show_installable,
@@ -217,7 +217,7 @@ def __init__(self, hass, conf_hide_sensor, conf_python_script_urls,
217217
self.show_installable = config_show_installable
218218
self.cache_versions()
219219

220-
def cache_versions(self):
220+
def cache_versions(self, now=None):
221221
"""Cache."""
222222
information = self.pyupdate.get_sensor_data(self.ha_conf_dir,
223223
self.show_installable,

0 commit comments

Comments
 (0)