Skip to content

`class-toggle` and easy datetime-formatting

Compare
Choose a tag to compare
@exetico exetico released this 27 Feb 14:31
· 556 commits to master since this release

Hi all!

Here's yet another quick update, which includes two new features.


class_toggle option

The class_toggle option is back in business 🧑‍💼. We simply fortog to add it, in the remake of ha-floorplan. See more here

Simply use floorplan.class_toggle whenever it's needed, and see more in #23.

Utility-code to format time

We've added strftime to format date-strings, like it's normally done in Home Assistant.

Formatting a date-entity can now be done with: util.date.strftime('%B %d, %Y %H:%M:%S', entity.last_changed)