import { customElement } from "../../decorator.js";
import { html } from "lit";
import "../../icons/icon-fan-on.js";
import "../../icons/icon-fan-off.js";
import { ObcAbstractAutomationButtonMotorized } from "../automation-button/abstract-automation-button-motorized.js";
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = decorator(result) || result;
  return result;
};
let ObcFan = class extends ObcAbstractAutomationButtonMotorized {
  get icon() {
    if (this.on) {
      return html`<obi-fan-on usecsscolor slot="icon"></obi-fan-on>
        <obi-fan-on usecsscolor slot="icon-silhouette"></obi-fan-on>`;
    } else {
      return html`<obi-fan-off usecsscolor slot="icon"></obi-fan-off>
        <obi-fan-off usecsscolor slot="icon-silhouette"></obi-fan-off>`;
    }
  }
};
ObcFan = __decorateClass([
  customElement("obc-fan")
], ObcFan);
export {
  ObcFan
};
//# sourceMappingURL=fan.js.map
