GladysAssistant / Gladys

A privacy-first, open-source home assistant
https://gladysassistant.com
Apache License 2.0
2.55k stars 278 forks source link

MQTT : Add custom topic for device features #2066

Closed Pierre-Gilles closed 3 months ago

Pierre-Gilles commented 3 months ago

Pull Request check-list

To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Screenshot 2024-05-02 at 15 00 11

cloudflare-pages[bot] commented 3 months ago

Deploying gladys-plus with  Cloudflare Pages  Cloudflare Pages

Latest commit: f822ec6
Status: ✅  Deploy successful!
Preview URL: https://48571fa5.gladys-plus.pages.dev
Branch Preview URL: https://mqtt-custom-topic.gladys-plus.pages.dev

View logs

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.39%. Comparing base (c28b59e) to head (f822ec6). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2066 +/- ## ========================================== + Coverage 98.38% 98.39% +0.01% ========================================== Files 850 854 +4 Lines 13890 13984 +94 ========================================== + Hits 13666 13760 +94 Misses 224 224 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

relativeci[bot] commented 3 months ago

#2541 Bundle Size — 10.12MiB (+0.17%).

f822ec6(current) vs 3bd6128 master#2540(baseline)

[!WARNING] Bundle contains 3 duplicate packages – View duplicate packages

Bundle metrics  Change 3 changes Regression 1 regression
                 Current
#2541
     Baseline
#2540
Regression  Initial JS 5.44MiB(+0.31%) 5.43MiB
No change  Initial CSS 302.96KiB 302.96KiB
Change  Cache Invalidation 53.58% 0%
No change  Chunks 51 51
No change  Assets 170 170
Change  Modules 1479(+0.07%) 1478
No change  Duplicate Modules 21 21
No change  Duplicate Code 0.82% 0.82%
No change  Packages 124 124
No change  Duplicate Packages 3 3

Bundle size by type  Change 1 change Regression 1 regression
|            |       Current
[#2541](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#2540](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2540-BW1FF68OlJxp1eX55W94?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Regression  [JS](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `7.22MiB` (`+0.24%`) | `7.21MiB` | | No change  [IMG](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-1_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View IMG assets") | `2.46MiB` | `2.46MiB` | | No change  [CSS](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps/assets?ba=%7B%22filters%22%3A%22ft.CSS-1_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View CSS assets") | `319.75KiB` | `319.75KiB` | | No change  [Fonts](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-1_ft.HTML-0_ft.OTHER-0%22%7D "View Fonts assets") | `93.55KiB` | `93.55KiB` | | No change  [Other](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-1%22%7D "View Other assets") | `17.53KiB` | `17.53KiB` | | No change  [HTML](https://app.relative-ci.com/projects/PUROh8FAVkDKmpUrqr4u/jobs/2541-aBYhqu2urW5bZPS0m1Ps/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-1_ft.OTHER-0%22%7D "View HTML assets") | `13.58KiB` | `13.58KiB` |

Bundle analysis reportBranch mqtt-custom-topicProject dashboard