【1】OFFスイッチを追加する 項目 設定値 エンティティ 操作する家電のエンティティ名を選択 アイコン mdi:lightbulb-off Icon color {{ 'primary' if state_attr('操作するエンティティID', 'mode') == 'off' else 'disabled' }} Primary information OFF Secondary information (なし) Badge icon (なし)