{"id":49,"date":"2020-05-27T19:32:43","date_gmt":"2020-05-27T17:32:43","guid":{"rendered":"https:\/\/jbsoft.nl\/site\/?p=49"},"modified":"2020-05-27T19:49:00","modified_gmt":"2020-05-27T17:49:00","slug":"caching-of-manual-inputs-for-home-assistant","status":"publish","type":"post","link":"https:\/\/jbsoft.nl\/site\/caching-of-manual-inputs-for-home-assistant\/","title":{"rendered":"Caching of manual inputs for Home Assistant"},"content":{"rendered":"\n<p>I found it to be annoying Home Assistant is recovering the manual input selects I am using for my automations. To enable a persistant state I have made a generic scrits that cashes the state of these input to disk and restores them automatically when Home Assistant restarts.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/github.com\/jbouwh\/ha-entitiy-cache\">script<\/a> is written in Python and is written to work with <a href=\"https:\/\/appdaemon.readthedocs.io\/en\/latest\/index.html\">AppDaemon<\/a>.<\/p>\n\n\n\n<p>The code shows how to use the Home Assistant integration API that comes with AppDaemon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found it to be annoying Home Assistant is recovering the manual input selects I am using for my automations. To enable a persistant state I have made a generic scrits that cashes the state of these input to disk and restores them automatically when Home Assistant restarts. The script is written in Python and &hellip; <a href=\"https:\/\/jbsoft.nl\/site\/caching-of-manual-inputs-for-home-assistant\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Caching of manual inputs for Home Assistant&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,5,6,4,3],"tags":[],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-appdaemon","category-home-assistant","category-home-automation","category-programming","category-python"],"_links":{"self":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":5,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts\/49\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}