Called when the host is connected to the component tree. For custom
element hosts, this corresponds to the connectedCallback() lifecycle,
which is only called when the component is connected to the document.
Called when the host is disconnected from the component tree. For custom
element hosts, this corresponds to the disconnectedCallback() lifecycle,
which is called the host or an ancestor component is disconnected from the
document.
Trigger a fresh fetch regardless of staleness (pull-to-refresh, post-save).
Update the entity id and re-subscribe. Call this when the element's
attribute changes (e.g. from attributeChangedCallback).
Lit 3 ReactiveController that subscribes to a single entity in the graph.
Usage inside a Lit element: