Skip to content

New Flows can now belong to an account. Your old edit link keeps working — open it and attach the flow to an account, and you can edit it from any browser you sign in with.

Sign in
Unclaimed

This flow was submitted before accounts existed, so nobody owns it yet. If you submitted it, open the edit link you were given — it still works — and you can attach the flow to an account from there. There is no deadline, and attaching it retires the link for good.

HASS library shown on an AWTRIX display
Fig. 1 HASS library, as 10der runs it.

HASS library

HASS library

Specifications
System AWTRIX NG Scripts
Firmware AWTRIX NG
Topic Smarthome
Built by 10der
File EuJbxQZhTQX9.ax · 5.1 KB
Icons
Published 8 Aug 2026
Downloads 23
# @module
# @config  hass_url text  "Hass URL"   default="http://homeassistant.lan:8123"
# @config  hass_token text "Hass token" default=""

var hass_config = module("hass_config")
hass_config.hass_url = store.get("hass_url")
hass_config.hass_token = store.get("hass_token")
import hass
import hass_config

hass.init(hass_config.hass_url, hass_config.hass_token)      
def init()
     hass.int(self.home_temp_entity,
end

      def(value, error)
        if error != nil
          log("Home Assistant error: " + error)
          return
        end

        if value == nil
          log("Temperature attribute is nil")
          return
        end

        self.temp = value

        # log("Temperature: " + str(self.temp))
      end
    )

More flows for AWTRIX NG Scripts or Smarthome

Something wrong with this flow? Report it.