Skip to content

Commit 65e6141

Browse files
committed
feat: 📝 rename project
1 parent 8d677f6 commit 65e6141

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<a name="readme-top"></a>
22

3-
[![HACS Validate](https://github.com/fixtse/office365-card/actions/workflows/github-actions-hacs.yml/badge.svg)](https://github.com/fixtse/office365-card/actions/workflows/github-actions-hacs.yml)
3+
[![HACS Validate](https://github.com/fixtse/o365-card/actions/workflows/github-actions-hacs.yml/badge.svg)](https://github.com/fixtse/o365-card/actions/workflows/github-actions-hacs.yml)
44
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)
55

6-
[![GitHub release](https://img.shields.io/github/v/release/fixtse/office365-card)](https://github.com/fixtse/office365-card/releases/latest) [![maintained](https://img.shields.io/maintenance/yes/2023.svg)](#) [![maintainer](https://img.shields.io/badge/maintainer-%20%40fixtse-blue.svg)](https://github.com/fixtse)
6+
[![GitHub release](https://img.shields.io/github/v/release/fixtse/o365-card)](https://github.com/fixtse/o365-card/releases/latest) [![maintained](https://img.shields.io/maintenance/yes/2023.svg)](#) [![maintainer](https://img.shields.io/badge/maintainer-%20%40fixtse-blue.svg)](https://github.com/fixtse)
77

88

9-
# Office 365 Card for Home Assistant
9+
# O365 Card for Home Assistant
1010

1111
Table of contents
1212
-----------------
@@ -19,17 +19,17 @@ Table of contents
1919
* [Teams](#teams)
2020

2121
## Introduction
22-
Needs the [Office 365 Integration](https://github.com/RogerSelwyn/O365-HomeAssistant) to work
22+
Needs the [O365 Home Assistant Integration](https://github.com/RogerSelwyn/O365-HomeAssistant) to work
2323

2424
[![Video Tutorial](http://img.youtube.com/vi/yKr5nMzOaAI/0.jpg)](http://www.youtube.com/watch?v=yKr5nMzOaAI "Integrating Office 365 into Home Assistant")
2525

26-
This is a Card to show information from your Office 365 sensors into your home assistant dashboard. The intend its to create a <b>simple</b> and easy to use card to show the sensors information in the dashboard.
26+
This is a Card to show information from your O365 sensors into your home assistant dashboard. The intend its to create a <b>simple</b> and easy to use card to show the sensors information in the dashboard.
2727

28-
I made a video about the Office 365 integration and on my research, I couldn't find any other card that allowed me to show the information from the sensors easily. So I made this card to simplify the process for everyone that needs it.
28+
I made a video about the O365 integration and on my research, I couldn't find any other card that allowed me to show the information from the sensors easily. So I made this card to simplify the process for everyone that needs it.
2929

3030
The Icon and the name of the card are taken from the sensor's configuration
3131

32-
Once installed can be added from the Dashboard Panel, just search for Office365 Card, works with the Lovelace Config Editor.
32+
Once installed can be added from the Dashboard Panel, just search for O365 Card, works with the Lovelace Config Editor.
3333

3434
<p align="center"><img src="img/config.webp" alt="lovelace config editor example"></p>
3535

@@ -42,16 +42,16 @@ Once installed can be added from the Dashboard Panel, just search for Office365
4242
We are in the process of being added to the HACS default list of repositories, in the meantime, add this as a custom repository to install it through hacs. So you can update easily when more features are added
4343

4444
```
45-
https://github.com/fixtse/office365-card
45+
https://github.com/fixtse/o365-card
4646
```
4747

4848
### Manual
4949

50-
1. Download `office365-card.js` file from the [latest release](https://github.com/fixtse/office365-card/releases/latest).
51-
2. Put `office365-card.js` file into your `config/www` folder.
52-
3. Add a reference to `office365-card.js` in Lovelace.
53-
1. **Go to:** _Settings__Dashboards__Resources_ → Click Plus button → Set _Url_ as `/local/office365-card.js` → Set _Resource type_ as `JavaScript Module`.
54-
4. Add `custom:office365-card.js` to Lovelace UI as any other card (using either editor or YAML configuration).
50+
1. Download `o365-card.js` file from the [latest release](https://github.com/fixtse/office365-card/releases/latest).
51+
2. Put `o365-card.js` file into your `config/www` folder.
52+
3. Add a reference to `o365-card.js` in Lovelace.
53+
1. **Go to:** _Settings__Dashboards__Resources_ → Click Plus button → Set _Url_ as `/local/o365-card.js` → Set _Resource type_ as `JavaScript Module`.
54+
4. Add `custom:o365-card.js` to Lovelace UI as any other card (using either editor or YAML configuration).
5555
<p align="right">(<a href="#readme-top">back to top</a>)</p>
5656

5757
## Supported Types
@@ -67,7 +67,7 @@ https://github.com/fixtse/office365-card
6767
#### Options
6868
| Name | Requirement | Description |
6969
| --- | --- | --- |
70-
| type | **Required** | `custom:office365-card` |
70+
| type | **Required** | `custom:o365-card` |
7171
| entity | **Required** | Home Assistant entity ID |
7272
| max_items | Optional | Maximum amount of items to show in the card <br> The header counter will still show the real value <br> Set to 0 to show all |
7373
<p align="right">(<a href="#readme-top">back to top</a>)</p>
@@ -87,7 +87,7 @@ https://github.com/fixtse/office365-card
8787
#### Options
8888
| Name | Requirement | Description |
8989
| --- | --- | --- |
90-
| type | **Required** | `custom:office365-card` |
90+
| type | **Required** | `custom:o365-card` |
9191
| entity | **Required** | Home Assistant entity ID |
9292
| max_items | Optional | Maximum amount of items to show in the card <br> The header counter will still show the real value <br> Set to 0 to show all |
9393
| only_overdue | Optional | Only show overdue tasks <br> Default: false |
@@ -103,13 +103,13 @@ https://github.com/fixtse/office365-card
103103
#### Options
104104
| Name | Requirement | Description |
105105
| --- | --- | --- |
106-
| type | **Required** | `custom:office365-card` |
106+
| type | **Required** | `custom:o365-card` |
107107
| entity | **Required** | Home Assistant entity ID |
108108

109109
<p align="right">(<a href="#readme-top">back to top</a>)</p>
110110

111111
## Licence
112-
office365-card is [MIT licenced](license.txt)
112+
o365-card is [MIT licenced](license.txt)
113113

114114

115115

hacs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Office 365 Card",
2+
"name": "O365 Card",
33
"render_readme": true,
4-
"filename": "office365-card.js",
4+
"filename": "o365-card.js",
55
"content_in_root": true
66
}

office365-card.js renamed to o365-card.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
css,
55
} from "https://unpkg.com/lit-element@3.3.2/lit-element.js?module";
66

7-
class Office365MailTodoViewEditor extends LitElement {
7+
class O365CardEditor extends LitElement {
88
static get properties() {
99
return {
1010
hass: Object,
@@ -160,7 +160,7 @@ class Office365MailTodoViewEditor extends LitElement {
160160
}
161161
}
162162

163-
class Office365MailTodoView extends LitElement {
163+
class O365Card extends LitElement {
164164
static get properties() {
165165
return {
166166
hass: {},
@@ -337,7 +337,7 @@ class Office365MailTodoView extends LitElement {
337337
}
338338

339339
static getConfigElement() {
340-
return document.createElement('office365-card-editor');
340+
return document.createElement('o365-card-editor');
341341
}
342342

343343

@@ -398,12 +398,12 @@ class Office365MailTodoView extends LitElement {
398398
`;
399399
}
400400
}
401-
customElements.define('office365-card', Office365MailTodoView);
402-
customElements.define('office365-card-editor', Office365MailTodoViewEditor);
401+
customElements.define('o365-card', O365Card);
402+
customElements.define('o365-card-editor', O365CardEditor);
403403

404404
window.customCards = window.customCards || [];
405405
window.customCards.push({
406-
type: "office365-card",
407-
name: "Office365 Card",
406+
type: "o365-card",
407+
name: "O365 Card",
408408
description: "A custom card to show your Inbox, To Do and Teams Last Message from Office365" // optional
409409
});

0 commit comments

Comments
 (0)