|  | 
| 10 | 10 | import homeassistant.helpers.config_validation as cv | 
| 11 | 11 | from homeassistant.helpers.event import track_time_interval | 
| 12 | 12 | 
 | 
| 13 |  | -VERSION = '3.1.5' | 
|  | 13 | +VERSION = '3.1.6' | 
| 14 | 14 | 
 | 
| 15 | 15 | _LOGGER = logging.getLogger(__name__) | 
| 16 | 16 | 
 | 
| @@ -133,7 +133,7 @@ def __init__(self, hass, conf_hide_sensor, conf_card_urls, | 
| 133 | 133 |         self.show_installable = config_show_installable | 
| 134 | 134 |         self.cache_versions() | 
| 135 | 135 | 
 | 
| 136 |  | -    def cache_versions(self): | 
|  | 136 | +    def cache_versions(self, now=None): | 
| 137 | 137 |         """Cache.""" | 
| 138 | 138 |         information = self.pyupdate.get_sensor_data(self.ha_conf_dir, | 
| 139 | 139 |                                                     self.show_installable, | 
| @@ -175,7 +175,7 @@ def __init__(self, hass, conf_hide_sensor, conf_component_urls, | 
| 175 | 175 |         self.show_installable = config_show_installable | 
| 176 | 176 |         self.cache_versions() | 
| 177 | 177 | 
 | 
| 178 |  | -    def cache_versions(self): | 
|  | 178 | +    def cache_versions(self, now=None): | 
| 179 | 179 |         """Cache.""" | 
| 180 | 180 |         information = self.pyupdate.get_sensor_data(self.ha_conf_dir, | 
| 181 | 181 |                                                     self.show_installable, | 
| @@ -217,7 +217,7 @@ def __init__(self, hass, conf_hide_sensor, conf_python_script_urls, | 
| 217 | 217 |         self.show_installable = config_show_installable | 
| 218 | 218 |         self.cache_versions() | 
| 219 | 219 | 
 | 
| 220 |  | -    def cache_versions(self): | 
|  | 220 | +    def cache_versions(self, now=None): | 
| 221 | 221 |         """Cache.""" | 
| 222 | 222 |         information = self.pyupdate.get_sensor_data(self.ha_conf_dir, | 
| 223 | 223 |                                                     self.show_installable, | 
|  | 
0 commit comments