Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 – the breaking changes release – WIP #225

Merged
merged 20 commits into from Apr 5, 2021
Merged

2.0 – the breaking changes release – WIP #225

merged 20 commits into from Apr 5, 2021

Conversation

nervetattoo
Copy link
Owner

@nervetattoo nervetattoo commented Mar 30, 2021

Will break most users config for the card.

TL;DR:

name -> header.name
icon -> header.icon
faults -> header.faults
toggle_entity -> header.toggle
toggle_entity_label -> header.toggle
step_layout -> layout.step

New options:

setpoints:
  temperature:
  my_random_temperature:
service:
  domain: climate
  service: set_temperature
  data:
    ohh: you can pass extra data
layout:
  sensors:
    labels: false
    type: list

Auto generated release notes as they currently stand:

Bug Fixes

* Attempt to hide unit when there is no value present. Fixes #210 (355ec41)
* Dont display unit as string false for current temp. (9de34db), closes #213
* Translation of sensor state and state/temperature (c890771), closes #122 #191 #215

Features

* Fine grained setpoint control (d221728), closes #216
* Move all header configuration to a new header section (7f66a55)
* New layout config option (e0f461c)
* Support custom domain/service calls and passing extra data. Fixes #211 (9ee1af9)

BREAKING CHANGES

* step_layout is moved under layout.step
* hide.setpoint is removed
* name, icon, faults and toggle_entity moved into the new
  header option

@github-actions
Copy link

github-actions bot commented Mar 30, 2021

🎉 HACS repository validator action summary 🎉
✅ The repository is not archived
✅ hacs.json has the 'name' key set
✅ The repository has a description
✅ The repository has topics
✅ The repository has issues enabled
✅ This day ends with an 'y' (Monday)
✅ README.md exists
✅ Information file has images
✅ HACS load check

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.58 KB (+1.03% 🔺) NaN ms (NaN% 🔽) NaN ms (NaN% 🔽) NaN ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.58 KB (+1.03% 🔺) NaN ms (NaN% 🔽) NaN ms (NaN% 🔽) NaN ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.58 KB (+1.03% 🔺) NaN ms (NaN% 🔽) NaN ms (NaN% 🔽) NaN ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.58 KB (+1.03% 🔺) 272 ms (+1.03% 🔺) 133 ms (-5.76% 🔽) 405 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.63 KB (+1.37% 🔺) 273 ms (+1.37% 🔺) 131 ms (-3.85% 🔽) 403 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.63 KB (+1.37% 🔺) 273 ms (+1.37% 🔺) 132 ms (+3.87% 🔺) 404 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.69 KB (+1.81% 🔺) 274 ms (+1.81% 🔺) 127 ms (-2.44% 🔽) 401 ms

name, icon, faults, toggle

BREAKING CHANGE: name, icon, faults and toggle_entity moved into the new
header option
Add a new `setpoints` config that will allow manually setting
single/dual setpoints, as well as hiding 1 or more setpoints.
Remove the `hide.setpoint` config
Fixes #216

BREAKING CHANGE: hide.setpoint is removed
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.69 KB (+1.81% 🔺) 274 ms (+1.81% 🔺) 134 ms (+17.07% 🔺) 407 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.69 KB (+1.81% 🔺) 274 ms (+1.81% 🔺) 125 ms (-7% 🔽) 398 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.71 KB (+1.94% 🔺) 275 ms (+1.94% 🔺) 135 ms (+3.35% 🔺) 409 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.75 KB (+2.24% 🔺) 275 ms (+2.24% 🔺) 144 ms (+4.3% 🔺) 419 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.75 KB (+2.26% 🔺) 276 ms (+2.26% 🔺) 137 ms (-7.72% 🔽) 412 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.75 KB (+2.26% 🔺) 276 ms (+2.26% 🔺) 150 ms (+7.05% 🔺) 425 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.75 KB (+2.26% 🔺) 276 ms (+2.26% 🔺) 101 ms (-27.91% 🔽) 376 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.75 KB (+2.26% 🔺) 276 ms (+2.26% 🔺) 98 ms (-33.01% 🔽) 373 ms

Offer more control over how sensors are rendered. Right now two features
are added:
1. Remove all labels
2. Choose to render as "table" (current) or list. Expect more options to
   come here in order to support a truly compact card that can easily be
   used in lists.

BREAKING CHANGE: step_layout is moved under layout.step
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.92 KB (+3.42% 🔺) 279 ms (+3.42% 🔺) 145 ms (+4.72% 🔺) 423 ms

@nervetattoo nervetattoo marked this pull request as ready for review April 4, 2021 11:35
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.84 KB (+2.9% 🔺) 277 ms (+2.9% 🔺) 151 ms (+11.19% 🔺) 428 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.84 KB (+2.9% 🔺) 277 ms (+2.9% 🔺) 141 ms (-1.36% 🔽) 418 ms

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/simple-thermostat.js 13.85 KB (+2.98% 🔺) 278 ms (+2.98% 🔺) 144 ms (+0.93% 🔺) 421 ms

@nervetattoo nervetattoo merged commit 6ec1cfd into master Apr 5, 2021
@github-actions
Copy link

github-actions bot commented Apr 5, 2021

🎉 This PR is included in version 2.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant