From dfa440e7d10881e3e64bb5f2eb348c1336e43b46 Mon Sep 17 00:00:00 2001 From: Felix Franz Date: Tue, 4 Feb 2025 05:23:25 +0100 Subject: [PATCH] Fixes #5: Unable to download into modern hacs --- README.md | 27 +++++++++++++++++++++- custom_components/ps4_custom/manifest.json | 2 +- hacs.json | 6 +++++ info.md | 22 ------------------ 4 files changed, 33 insertions(+), 24 deletions(-) mode change 120000 => 100644 README.md create mode 100644 hacs.json delete mode 100644 info.md diff --git a/README.md b/README.md deleted file mode 120000 index 0740e15..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -info.md \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..d694ce5 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# HomeAssistant - PlayStation 4 Custom Component + +[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg)](https://github.com/hacs/integration) +[![Maintainer](https://img.shields.io/badge/MAINTAINER-%40fleXible-red?style=flat)](https://github.com/fleXible) + +This is a custom component fixes a bug in the built-in [Playstation 4](https://www.home-assistant.io/integrations/ps4/) integration. Toggling the power is not working. + +* Fix broken power toggle feature used in Lovelace Mediaplayer-UI with runtime patch + +## Installation + +[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=Felix+Franz&repository=https%3A%2F%2Fgithub.com%2FfleXible%2Fha-ps4-custom&category=Integration) + +## Configuration + +To load and activate the fix, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +ps4_custom: +``` + + Because this is a runtime patch, the device administration is not changed. + For further documentation, consult the official HomeAssistant [PlayStation 4](https://www.home-assistant.io/integrations/ps4/) pages. + +*** diff --git a/custom_components/ps4_custom/manifest.json b/custom_components/ps4_custom/manifest.json index 51e0e9e..e99014a 100755 --- a/custom_components/ps4_custom/manifest.json +++ b/custom_components/ps4_custom/manifest.json @@ -1,7 +1,7 @@ { "domain": "ps4_custom", "name": "PlayStation 4 Custom", - "version": "1.0", + "version": "1.0.1", "documentation": "https://github.com/fleXible/ha-ps4-custom", "dependencies": ["ps4"], "codeowners": ["@fleXible"], diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..d3c7f61 --- /dev/null +++ b/hacs.json @@ -0,0 +1,6 @@ +{ + "name": "My awesome thing", + "content_in_root": false, + "homeassistant": "2023.11", + "hacs": "2.0.0" +} diff --git a/info.md b/info.md deleted file mode 100644 index cf5f016..0000000 --- a/info.md +++ /dev/null @@ -1,22 +0,0 @@ -[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg)](https://github.com/hacs/integration) -[![](https://img.shields.io/badge/MAINTAINER-%40fleXible-red?style=flat)](https://github.com/fleXible) - -# HomeAssistant - PlayStation 4 Custom Component - -This is a custom component fixes a bug in the built-in [Playstation 4](https://www.home-assistant.io/integrations/ps4/) integration. Toggling the power is not working. - -* Fix broken power toggle feature used in Lovelace Mediaplayer-UI with runtime patch - -## Configuration - -To load and activate the fix, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -ps4_custom: -``` - - Because this is a runtime patch, the device administration is not changed. - For further documentation, consult the official HomeAssistant [PlayStation 4](https://www.home-assistant.io/integrations/ps4/) pages. - -***