after solving a few smaller issues, I seem to be stuck with this error, (3 times)
2020-09-18 20:12:02 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]:
Integration 'sun' does not provide trigger support.
Got OrderedDict([('homeassistant', OrderedDict([('name', 'Ha Rpi4'),
('internal_url', 'redacted'), ('latitude', redacted ), ('longitude', redacted),
('elevation', redacted), ('unit_system', 'metric'), ('time_zone', 'Europe/Amsterdam'),
('packages', OrderedDict([('package_activity_selection',
OrderedDict([('homeassistant',
OrderedDict([('customize',
OrderedDict([('input_boolean.notify_activity_selection',
OrderedDict([('templates',
OrderedDict([('icon', "if (state == 'on') return 'm.... (See ?, line ?).
which is rather odd, since the package it mentions doesnt contain 1 reference to an automation with sun integration.
the customization it refers to is nothing special either:
homeassistant:
customize:
input_boolean.notify_activity_selection:
templates:
icon: >
if (state == 'on') return 'mdi:message-bulleted';
return 'mdi:message-bulleted-off';
icon_color: >
if (state == 'on') return 'gold';
return 'steelblue';
or would it be this is the first of my packages in the long list of packages, and it picks the first line of that package, which would be the only explanation I could give here…
still what would the sun trigger error indicate? Ive have not changed anything, but maybe delete some entity_id’s from template sensors…
like:
value_template: >
{% set nw = as_timestamp(now()) %}
{% set ss = as_timestamp(state_attr('sun.sun','sunset')) %}
{{'- ' if nw < ss}}{{(nw - ss)|abs|timestamp_custom('%H:%M:%S',false)}}
would I still need to set the original triggering entities with the sun integration?