Dashboards

Time set

A card feature for the tile card of a time, a date and time helper or a datetime entity. Change the time from the tile, the date stays.

Time set is a card feature for the tile card in Home Assistant. The time the tile's entity holds, right under the tile, to change in place. The alarm goes off at 07:30 and tomorrow is a day off: type 09:00, press Enter, done.

Home Assistant's own Date set feature changes the date. Time set changes the time, and leaves the date alone. On a tile of something with both, put the two under each other.

The tile showsWhat is set
A time entityIts time
A date and time helper with only a timeIts time
A date and time helper with a date and a timeIts time, on the date it already has
A datetime entityIts time, on the same day, in your time zone

It needs Spook on your dashboards switched on.

Three tiles with Time set under them, on a 12 hour clock. An alarm at 07:30 AM, a wake up helper at 06:15 AM, and a departure at 06:45 PM with GMT+1 next to it.

Adding it to a card

  1. Open the dashboard, and edit it.
  2. Edit the tile card of one of the entities above, or add one.
  3. Open Features, select Add feature, and select Time set (Spook).
  4. Select Save.
There is nothing to set. It is only offered on a tile of an entity that holds a time. A date and time helper with only a date does not get it: Home Assistant's own Date set is the one for that.

Changing the time

Select the hours, and type. Two digits, or one that cannot be followed by another, like a 7, and it moves on to the minutes by itself. On a phone you get the number keys.
  • The Up and Down arrow keys count the field you are in up or down, round the clock.
  • A colon moves on to the next field. Backspace in an empty field goes back to the one before.
  • Enter, or the check mark button next to the time, sets it.
  • Escape goes back to the time the entity holds.
Nothing is sent while you type. Home Assistant gets the new time once, when you set it. The button stays off until there is a new time to set.A time that is not a time, like 07:75, gets a red edge, and the button stays off.

12 or 24 hours

The time follows the time format in your profile in Home Assistant: 12 hours, 24 hours, or what your language or system uses. On 12 hours, there is an AM or PM button next to the time. Select it to switch, or type A or P in any field.

Seconds

Most times are on the minute, and a field that always says 00 is one more to get past. So the seconds only show for a time that has them, like 07:30:15. Without the field, a time is set on the minute.

Time zones

A time entity and a date and time helper hold a time on the clock, without a time zone. 07:30 is 07:30, wherever you look from. Time set shows and sets it as it is.A datetime entity holds a moment. Time set shows it in the time zone your profile picks: your browser's, or the one Home Assistant is set to. The short name of that time zone shows next to the time, the way your language writes it, like CET or GMT+1. Hover over it for the full name, like Europe/Amsterdam. The new time is set in that time zone, on the day it is there.A datetime entity that holds no moment yet has no day to keep, so it cannot get a time from the tile. Set it once some other way, and Time set takes it from there.

Who can use it

Everyone who can see the dashboard. Setting a time is open to every user, not only administrators.

In YAML

type: tile
entity: input_datetime.wake_up
features:
  - type: custom:spook-time-set-feature
It has no options.