openhab / openhab-docs

This repository contains the documentation for openHAB.
https://www.openhab.org/docs/
Other
268 stars 683 forks source link

Add icon for Basic UI #2242

Closed jimtng closed 4 months ago

jimtng commented 4 months ago

I generated the sitemap using the following jruby code:

items.build do
  switch_item DemoSwitch, "Office Lights", icon: "if:icon-park-twotone:dome-light", state: ON
  dimmer_item DemoDimmer, "Brightness", icon: "if:uil:brightness", state: 60
  number_item DemoTemp, "Temperature", format: "%d %unit%", state: "24 °C", unit: "°C",
                                       icon: "iconify:material-symbols:thermostat"
  string_item DemoMode, "Aircon Mode", state: "COOL", icon: "if:material-symbols:mode-cool"
end

sitemaps.build do
  sitemap "Basic UI" do
    frame do
      switch item: DemoSwitch
      slider item: DemoDimmer
      setpoint item: DemoTemp
      switch item: DemoMode, mappings: %w[OFF COOL HEAT]
    end
  end
end

Then took a screenshot of it.

jimtng commented 4 months ago

ping @lolodomo @rkoshak

jimtng commented 4 months ago

Updated to 25KB