Skip to content

Commit 76f53fc

Browse files
authored
Merge current into next (#35477)
2 parents a9746e3 + a0df020 commit 76f53fc

File tree

12 files changed

+85
-13
lines changed

12 files changed

+85
-13
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ GEM
6666
nokogiri (~> 1.12)
6767
jekyll-watch (2.2.1)
6868
listen (~> 3.0)
69-
json (2.7.3)
69+
json (2.7.4)
7070
kramdown (2.4.0)
7171
rexml
7272
kramdown-parser-gfm (1.1.0)
@@ -150,7 +150,7 @@ GEM
150150
rack-protection (= 4.0.0)
151151
rack-session (>= 2.0.0, < 3)
152152
tilt (~> 2.0)
153-
sorbet-runtime (0.5.11615)
153+
sorbet-runtime (0.5.11620)
154154
stringex (2.8.6)
155155
terminal-table (3.0.2)
156156
unicode-display_width (>= 1.1.1, < 3)

sass/homeassistant/_overrides.scss

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,35 @@ dt:hover a.title-link {
888888
}
889889
}
890890

891+
.hero-github-badge .desktop {
892+
display: none;
893+
max-width: 658px;
894+
width: 100%;
895+
}
896+
897+
.hero-github-badge .mobile {
898+
display: block;
899+
max-width: 420px;
900+
width: 100%;
901+
margin-bottom: 2rem;
902+
}
903+
904+
// after 768px, show desktop, hide mobile
905+
@media only screen and (min-width: 1025px) {
906+
.hero-github-badge .mobile {
907+
display: none;
908+
max-width: 385px;
909+
}
910+
911+
.hero-github-badge .desktop {
912+
display: block;
913+
}
914+
}
915+
916+
.hero-buttons {
917+
margin-bottom: 0;
918+
}
919+
891920
.hero-buttons a {
892921
margin: 0 30px 10px 0;
893922

@@ -896,7 +925,6 @@ dt:hover a.title-link {
896925
}
897926
}
898927

899-
900928
// Article formatting
901929

902930
article.post,
@@ -1362,13 +1390,15 @@ a.my {
13621390
// Prevent headings from disappearing behind the site header when linked to
13631391
h1, h2, h3, h4, h5, h6 {
13641392
position: relative;
1393+
word-wrap: break-word;
13651394
}
13661395

13671396
:target {
13681397
display: block;
1369-
position: absolute;
1398+
position: relative;
13701399
top: -100px;
13711400
visibility: hidden;
1401+
scroll-margin-top: 80px;
13721402
}
13731403

13741404
.site-header {

sass/homeassistant/homepage/_hero_unit.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
max-height: 1080px;
1515
height: 100vh;
1616
align-content: center;
17-
min-height: 720px;
17+
min-height: 840px;
1818
// scroll-snap-align: start;
1919
color: $white;
2020

@@ -86,11 +86,11 @@
8686
// animation-iteration-count: infinite;
8787
// animation-direction: alternate;
8888

89-
@media only screen and (max-height: 720px) {
89+
@media only screen and (max-height: 840px) {
9090
border-bottom: 0;
9191
margin-bottom: -8px;
9292
border-radius: 48px 48px 0 0;
93-
height: 640px;
93+
height: 750px;
9494

9595
}
9696

@@ -126,6 +126,7 @@
126126

127127
@media only screen and (max-width: 760px) {
128128
.hero {
129+
min-height: 940px;
129130
.flex {
130131
flex-direction: column;
131132
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Removing an integration instance
2+
3+
If you no longer want to use a device or service in Home Assistant, you can remove the integration instance including the device or service with all its entities.
4+
5+
The following steps describe the general steps needed to remove an integration instance. Depending on the integration, additional steps can be needed, such as resetting the device or to delete credentials. Refer to the integration documentation to see if additional steps are needed.
6+
7+
### To remove an integration instance from Home Assistant
8+
9+
1. Go to {% my integrations title="**Settings** > **Devices & services**" %} and select the integration card.
10+
2. From the list of devices, select the integration instance you want to remove.
11+
3. Next to the entry, select the three-dot menu. Then, select **Delete**.
12+
13+
![Screenshot showing how to remove an integration instance](/images/organizing/integration_instance_delete.png)

source/_includes/custom/welcome.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@ <h1>Awaken<br><span class="line2">your home</span></h1>
1919
<a href='https://demo.home-assistant.io' target='_blank'>View live demos</a>
2020
<a href='/integrations/'>Browse {{ tot | minus: 1 | divided_by: 100 | round | times: 100 }}+ integrations</a>
2121
</p>
22+
<a href="https://github.blog/news-insights/octoverse/octoverse-2024/#the-state-of-open-source" target="_blank" class="hero-github-badge">
23+
<img
24+
src="/images/github-top-project-2024-mobile.png"
25+
class="mobile"
26+
alt="GitHub's top open source project by contributors in 2024"
27+
>
28+
<img
29+
src="/images/github-top-project-2024-desktop.png"
30+
class="desktop"
31+
alt="GitHub's top open source project by contributors in 2024"
32+
>
33+
</a>

source/_integrations/blebox.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,14 @@ This integration adds the Blebox device as a sensor entity to Home Assistant.
397397

398398
- Periodic read of current wind speed
399399

400+
### luxSensor
401+
402+
This integration adds the Blebox device as a sensor entity to Home Assistant.
403+
404+
#### Key supported features
405+
406+
- Periodic read of illuminance (unit: lx)
407+
400408
------
401409

402410
## "BleBox inside" controllers

source/_integrations/pushover.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Example Automation:
3838
3939
Integration-specific values in the nested `data` section are optional.
4040

41-
Image attachments can be added using the `attachment` parameter, which can either be a local file reference (ex: `/tmp/image.png`).
41+
Image attachments can be added using the `attachment` parameter, which must be a local file reference (ex: `/tmp/image.png`).
4242

4343
To use a specific Pushover device, set it using `target`. If one of the entered devices doesn't exist or is disabled in your Pushover account it will send a message to all you devices. To send to all devices, just skip the target attribute.
4444

source/_integrations/statistics.markdown

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,19 @@ ha_config_flow: true
2020

2121
The `statistics` integration observes the state of a source sensor and provides aggregated statistical characteristics about its recent past. This integration can be useful in automation, for example, to trigger an action when the air humidity in the bathroom settles after a hot shower or when the number of brewed coffees over a day gets too high.
2222

23-
The statistics sensor updates with every update of the source sensor, for which the numeric `sensor` and `binary_sensor` are supported. The time period and/or number of recent state changes, which should be considered, must be given in configuration. Check the configuration section below for details.
23+
The `statistics` sensor can use either the numeric `sensor` or `binary_sensor` as it's input. The time period and/or number of recent state changes, which should be considered, must be given in configuration. Check the configuration section below for details.
2424

2525
Assuming the [`recorder`](/integrations/recorder/) integration is running, historical sensor data is read from the database on startup and is available immediately after a restart of the platform. If the [`recorder`](/integrations/recorder/) integration is *not* running, it can take some time for the sensor to start reporting data because some characteristics calculations require more than one source sensor value.
2626

2727
{% tip %}
28-
The `statistics` integration is different to [Long-term Statistics](https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics). More details on the differences can be found in the [2021.8.0 release notes](/blog/2021/08/04/release-20218/#long-term-statistics).
28+
The `statistics` integration is not the same as the [Long-term Statistics](https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics). More details on the differences can be found in the [2021.8.0 release notes](/blog/2021/08/04/release-20218/#long-term-statistics).
2929
{% endtip %}
3030

31+
The `statistics` sensor has an internal buffer that stores the values it needs for the computation of the various functions (for example, `average_step`). The sensor is updated whenever new values are added to the buffer or when elements are removed. This is triggered either by a change of the source sensor (which may or may not change its actual value) or by values expiring (in cases where `max_age` was specified). This means that the buffer can hold a sequence of identical values in cases where values are not changing over time.
32+
33+
When using a time-based buffer (by providing a `max_age`), it is recommended to ensure that the buffer contains at least a decent number of values spanning the full range of time. For sensors that don't change much, this can be achieved by using a template sensor with a time-based trigger as input. If the input values don't cover most of the time range, the computed output values could lead to unexpected results.
34+
Example: To find out whether a switch was used in the last 5 minutes, `count_on` could be used. However, if there are no frequent readings a single "Off" (maybe only a second ago) in the buffer would produce 0 even though the sensor was "On" for most of the last five minutes.
35+
3136
{% include integrations/config_flow.md %}
3237

3338
Further information about these configuration options can be found under the [YAML configuration](#yaml-configuration)
@@ -61,8 +66,8 @@ The following are supported for `sensor` source sensors `state_characteristic`:
6166

6267
| State Characteristic | Description |
6368
| -------------------- | ----------- |
64-
| `average_linear` | The average value of stored measurements under consideration of the time distances between them. A linear interpolation is applied per measurement pair. Suited to observe a source sensor with frequent, non-periodic sensor updates and when continuous behavior is represented by the measurements (e.g. your electricity consumption). WARNING: This type of average may show unexpected behavior in cases where values remain stable (e.g. an equally spaced sequence of t1:0 -> t2:0 -> t3:0 -> t4:0 -> t5:10 would produce an average of 5 instead of 1,25 because the non-changing zeros in the middle (t2 to t4) are being filtered out by Home Assistant and so the actually computed curve already starts rising at t1 instead of staying flat until t4). Accordingly, this function is only making sense in the context of noisy sensors that keep changing constantly. |
65-
| `average_step` | The average value of stored measurements under consideration of the time distances between them. LOCF (last observation carried forward weighting) is applied, meaning, that the old value is assumed between two measurements. This is a better fit to how Home Assistant deals with constant values (compared to the linear function) and it is also better fitting to sensors that are switching between stable phases (e.g. a heating level set to either 1, 2 or 3). WARNING: Even when a time interval is specified by the max age parameter, the average is not necessarily matching the average over that whole interval (e.g. when values were removed due to the sampling size limit). |
69+
| `average_linear` | The average value of stored measurements under consideration of the time distances between them. A linear interpolation is applied per measurement pair. Suited to observe a source sensor with frequent, non-periodic sensor updates and when continuous behavior is represented by the measurements (e.g. your electricity consumption). WARNING: This doesn't compute the exact average over the full interval defined by `max_age`. It will only consider the interval between the first and the last value in the buffer. |
70+
| `average_step` | The average value of stored measurements under consideration of the time distances between them. LOCF (last observation carried forward weighting) is applied, meaning, that the old value is assumed between two measurements. This is a better fit to how Home Assistant deals with constant values (compared to the linear function) and it is also better fitting to sensors that are switching between stable phases (e.g. a heating level set to either 1, 2 or 3). WARNING: This doesn't compute the exact average over the full interval defined by `max_age`. It will only consider the interval between the first and the last value in the buffer. |
6671
| `average_timeless` | The average value of stored measurements. This method assumes that all measurements are equally spaced and, therefore, time is ignored and a simple average of values is computed. Equal to `mean`. |
6772
| `change_sample` | The average change per sample. The difference between the newest and the oldest measurement is divided by the number of in-between measurements (n-1). |
6873
| `change_second` | The average change per second. The difference between the newest and the oldest measurement is divided by seconds between them. |

source/_integrations/switcher_kis.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Supported devices:
3333
- Switcher V2 (Espressif chipset - from firmware 3.21)
3434
- Switcher V2 (Qualcomm chipset - from firmware 72.32)
3535
- Switcher V4
36+
- Switcher Mini
3637
- Switcher Breeze
3738
- Switcher Runner
3839
- Switcher Runner S11

source/common-tasks/general.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ Creating an automation for polling gives you more flexibility on when to poll:
2222
1. Not all integrations have a configurable polling interval. The homeassistant.update_entity service, on the other hand, works with most of the integrations; no code changes are required.
2323
2. An automation allows you to poll whenever you want. For example, if you have a rate-limited solar panel provider with a maximum number of requests per day, you may want to lower/stop the polling at night but poll more frequently during the day.
2424

25-
{% include common-tasks/define_custom_polling.md %}
25+
{% include common-tasks/define_custom_polling.md %}
26+
27+
{% include common-tasks/remove_device_service.md %}

0 commit comments

Comments
 (0)