The Hatswitch building block represents a single hatswitch on a controller.
A Hatswitch building block has no inputs and one Number output. The output value indicates the position of the hatswitch.
A Hatswitch building block is configured using the common Device Control building block settings.