* Convert hui-weblink-row to TypeScript/LitElement
* Addressed review comments
* Made name and icon fields optional. Will create a corresponding PR to the docs to update them as Optional
* Updated entities-card to not check weblink config as that is the job of the element (entities-card should be updated to not check service-call config either as that is the job of the row element as well)
* Addressed review comments
That's cool!
* Convert hui-state-badge-element to TypeScript/LitElement
The state image is not updating. This is true with the image-element as well. There's probably something simple between them both that I'm missing in my syntax for defining them
* Added htmlmap interface
* Addressed review comments
* Convert hui-state-icon-element to TypeScript/LitElement
The icon is not currently dispalying and therefor cannot determine if changing as well. Everything else is working. Should probably create a base class for all these elements to extend for simple things like checking for the entity and setting hass correctly once I get that sorted out.
* Fixed setting of properties
* Remove ! on this._config
* Addressed review comments
* Moved event handlers to private functions to avoid arrow function creation on each render
* Check for `hass` before looking for state
* Movevd absolute import above relative imports
* Convert hui-image-element to TypeScript/LitElement
WIP
Some of the state portions passed down to ha-image are not updating the view.
* Fixed setting of properties
* Add tagnamemap interface
* Address review comments
* Convert hui-service-button-element to TypeScript/LitElement
Will need to rebase once hui-icon-element PR is merged
* Added return types
* Convert ha-call-service-button attributes to properties
* Re-order imports
The choice of the "fan-off" icon to set the climate operation_mode to off should be changed . Many HVAC thermostats have a manual fan control. The use of the fan icon in this card would imply that it would change or toggle the fan_mode of a climate component, not the operation_mode. If setting the fan_mode of a climate component via this card were to be implemented in the future the use of "fan" and "fan-off" icons would be the most logical choices for icons. I propose changing the icon that would set the operation_mode to off to generic power icon such as "power", or "power-off" to avoid confusion and to reserve the "fan" and "fan-off" icons for future use to change the the state of fan_mode.
Was unable to get computeTooltip to work for non-converted elements. There are not many elements that use this so will just remove this mixin once conversion of all to TS has been completed.
* Fix hass setting on stack
* Don't set hass on pic elements if undefined
* Don't set hass on entity rows if undefined
* prefix config prop
* Pic elements set hass yoooo
* Remove interface
* Make stack config private
* Fix import
* Lint
* Fix hass setting on stack
* Don't set hass on pic elements if undefined
* Don't set hass on entity rows if undefined
* prefix config prop
* Pic elements set hass yoooo
* Remove interface
* Make stack config private
* Fix import
* Lint
* Convert horizontal-stack to TypeScript/LitElement
Base stack-card class for horizontal and vertical stack cards to extend as their code overlaps a lot. Not sure if it should be in `common` or not
* rename locale hass variable
* Address review comments
* Abstract getCardSize
* Long-press controller and lit-directive
* Enable long-press for glance card
* Enable long-press for entity-button
* Use new long-press for picture-elements
* Enable long-press for picture-entity card