Hello,
I am trying to set up the excellent google maps widget from tjntomas:
But I have a problem when I load the dashboard:
2020-03-31 12:13:00.086578 INFO AppDaemon: Compiling dashboard ‘Googlemaps’
2020-03-31 12:13:00.877438 WARNING AppDaemon: ------------------------------------------------------------
2020-03-31 12:13:00.880651 WARNING AppDaemon: Unexpected error during DASH creation
2020-03-31 12:13:00.884182 WARNING AppDaemon: ------------------------------------------------------------
2020-03-31 12:13:00.893396 WARNING AppDaemon: Traceback (most recent call last):
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 829, in get_dashboard
dash = self._conditional_compile(name, skin, recompile)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 780, in _conditional_compile
dash = self._get_dash(name, skin, skindir)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 583, in _get_dash
dash = self._create_dash(name, css_vars)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 480, in _create_dash
dash, layout, occupied, includes = self._create_sub_dash(name, “dash”, 0, {}, [], 1, css_vars, None)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 554, in _create_sub_dash
self._add_layout(lay, layout, occupied, dash, page, includes, css_vars, global_parameters)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 423, in _add_layout
widget[“parameters”] = self._load_widget(dash, includes, name, css_vars, global_parameters)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 323, in _load_widget
final_widget, templates = self._do_subs(final_widget, instantiated_widget)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 217, in _do_subs
processed, t = self._do_subs(value, _vars)
File “/usr/lib/python3.8/site-packages/appdaemon/dashboard.py”, line 225, in _do_subs
processed, t = self._do_subs(item)
TypeError: _do_subs() missing 1 required positional argument: ‘_vars’
and this is the code of my .dash file (located in: config/appdaemon/dashboards)
title: Maps
widget_dimensions: [120, 120]
widget_margins: [5, 5]
columns: 8
google_map:
widget_type: googlemaps
entities:
- device_tracker.z2
base_url: my url
api_key: my key
zoom: 16
time: 24h
latitude: 46.13516722745783
longitude: -1.1068061739206316
template: default
layout:
- google_map(10x7)
can you help me please