nielsfaber / scheduler-component

Custom component for HA that enables the creation of scheduler entities
GNU General Public License v3.0
631 stars 41 forks source link

Add light entity as an option just like a switch #257

Closed spetrie13 closed 1 year ago

spetrie13 commented 1 year ago

Checklist

Proposal

Add light entity as an option just like a switch

Additional info

larry-glz commented 1 year ago

Hi. Try adding this to the scheduler card:

include:
  - light
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

spetrie13 commented 1 year ago

Hi. Try adding this to the scheduler card:

include:
  - light

Not sure where to add that.

larry-glz commented 1 year ago

When you add a scheduler card, go to "Edit" on the lower left. This is the card configuration. then click on "show code editor" on the lower left. you'll see the yaml code for it. it should start with:

type: custom:scheduler-card

and have some other stuff in it for the options you've selected. as per above, add this:

include:
  - light

Save. now when you click "add" in the card, you should get an option to add lights.

spetrie13 commented 1 year ago

Perfect. Light now shows up as an option. Many thanks for your help.

On Sun, 23 Apr 2023, 17:01 larry-glz, @.***> wrote:

When you add a scheduler card, go to "Edit" on the lower left. This is the card configuration. then click on "show code editor" on the lower left. you'll see the yaml code for it. it should start with:

type: custom:scheduler-card

and have some other stuff in it for the options you've selected. as per above, add this:

include:

  • light

Save. now when you click "add" in the card, you should get an option to add lights.

— Reply to this email directly, view it on GitHub https://github.com/nielsfaber/scheduler-component/issues/257#issuecomment-1519074889, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYRF454NKCVLXFQ4WIL6V73XCUY35ANCNFSM6AAAAAAVL3Y4WU . You are receiving this because you authored the thread.Message ID: @.***>