Repository navigation
A fix for custom modules after 1.5.14. If a module of yours stays empty on a wall panel but works in the editor, this is the update for you. Nothing else changes.
Custom modules work on a display again (#147)
Since 1.5.14 a display without a login gets only what is on your saved views. For a custom module only whole settings values counted. A module that keeps its calendars in a line like calendar.formula_1|#e10600|F1, or names an entity in its code, was refused on every wall panel. The editor, signed in, showed it fine. The log called the calendar "not on any of your views".
Now a module on a view counts with everything it names:
- its settings, in whatever format its author chose;
- its defaults;
- the entity ids and addresses written in its code.
A module whose code calls /api/ha/notifications gets the notifications, as a notifications tile would. A module on no view, or switched off, opens nothing with its code. A module that only finds its entities while it runs, such as one that shows every calendar Home Assistant has, is still refused. For that case, MAGIC_FRAME_HA_ACTION_UNRESTRICTED=1 (add-on: ha_action_unrestricted) still lifts the limit. The details are in Custom modules.
If you put a hidden calendar widget on a view to get around this, you can take it out after updating.
Thanks to @Cptkex82 for reporting this. The workaround in the report showed exactly where the gap was.
Upgrade: curl -fsSL https://raw.githubusercontent.com/jeremiaa/magic-frame/main/deploy/install.sh | bash — add-on users: add-on store → Reload → Update.