https://github.com/andrewjswan/swatchtime
Swatch / Internet Time for Home Assistant
https://github.com/andrewjswan/swatchtime
hacs home-assistant swatch-internet-time
Last synced: 5 months ago
JSON representation
Swatch / Internet Time for Home Assistant
- Host: GitHub
- URL: https://github.com/andrewjswan/swatchtime
- Owner: andrewjswan
- License: mit
- Created: 2024-02-09T22:06:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-18T14:55:17.000Z (6 months ago)
- Last Synced: 2024-11-18T16:12:44.384Z (6 months ago)
- Topics: hacs, home-assistant, swatch-internet-time
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# SwatchTime for Home Assistant
[](https://github.com/custom-components/hacs)
[](https://github.com/andrewjswan/SwatchTime/actions)
[](https://github.com/andrewjswan/SwatchTime/blob/master/LICENSE)
[](https://github.com/andrewjswan/SwatchTime/releases)
[![HA Installs][installs]](https://analytics.home-assistant.io/custom_integrations.json)
[](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)Create [Swatch / Internet Time](https://en.wikipedia.org/wiki/Swatch_Internet_Time) sensor for [Home Assistant](https://www.home-assistant.io/).

## Description
In version Home Assistant 2024.2.0, it was decided to [remove](https://github.com/home-assistant/core/pull/106871) the Swatch / Internet time (beat) sensor from the Time & Date integration, a message appeared in the logs:
```
The `beat` Time & Date sensor is being removed
This stops working in version 2024.7.0. Please address before upgrading.
Please remove the `beat` key from the `display_options` for the time_date entry in your configuration.yaml file and restart Home Assistant to fix this issue.
```
This custom integration returns this sensor to Home Assistant, the functionality remains the same.## Installation
**Method 1.** [HACS](https://hacs.xyz/) custom repo:
> HACS > Integrations > 3 dots (upper top corner) > Custom repositories > URL: `andrewjswan/SwatchTime`, Category: Integration > Add > wait > SwatchTime > Install
**Method 2.** Manually copy `swatch_time` folder from [latest release](https://github.com/andrewjswan/SwatchTime/releases/latest) to `/config/custom_components` folder.
## Configuration
**Method 1.** GUI:
> Configuration > Integrations > Add Integration > **SwatchTime**
If the integration is not in the list, you need to clear the browser cache.
**Method 2.** YAML:
```yaml
swatch_time:
```[installs]: https://img.shields.io/badge/dynamic/json?color=41BDF5&logo=home-assistant&label=integration%20usage&suffix=%20installs&cacheSeconds=15600&url=https://analytics.home-assistant.io/custom_integrations.json&query=$.swatch_time.total